From 8fa6b9030d689c856578e5769088a2527b7283d6 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 13 Nov 2025 21:53:13 -0500 Subject: doc: adjust "Replication Slot" to mention physical & logical Much of the "Replication Slot" chapter applies to physical and logical slots, but it was sloppy in mentioning mostly physical slots. This patch clarified which parts of the text apply to which slot types. This chapter is referenced from the logical slot/subscriber chapter, so it needs to do double duty. Backpatch-through: master --- doc/src/sgml/high-availability.sgml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml index 3c79d4b5e0c..340c4622221 100644 --- a/doc/src/sgml/high-availability.sgml +++ b/doc/src/sgml/high-availability.sgml @@ -918,18 +918,18 @@ primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass' - Physical Replication Slots + Replication Slots replication slot streaming replication - Physical replication slots provide an automated way to ensure that the - primary server does - not remove WAL segments until they have been received by all standbys, - and that the primary does not remove rows which could cause a - recovery conflict even when the - standby is disconnected. + Replication slots provide an automated way to ensure that the + primary server does not remove WAL segments until they have been + received, physically or logically, by all standbys/subscribers, + and that the primary does not remove rows which could cause a recovery conflict on physical + replicas even when the standby is disconnected. In lieu of using replication slots, it is possible to prevent the removal @@ -943,9 +943,9 @@ primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass' Similarly, on its own, without - also using a replication slot, provides protection against relevant rows + also using a physical replication slot, provides protection against relevant rows being removed by vacuum, but provides no protection during any time period - when the standby is not connected. + when the physical replication standby is disconnected. -- cgit v1.2.3