doc: Remove incorrect description about dropping replication slots.
authorFujii Masao <[email protected]>
Fri, 21 Mar 2025 03:56:39 +0000 (12:56 +0900)
committerFujii Masao <[email protected]>
Fri, 21 Mar 2025 03:58:43 +0000 (12:58 +0900)
commit97ce4d375a0ada1c1dd2f23552b40eadf5ecf14e
tree3173383de9e8d8d178c0753d1516bb5d0fe9ebf2
parent9de86e367a675baee879eeca93f1ddf3da29542f
doc: Remove incorrect description about dropping replication slots.

pg_drop_replication_slot() can drop replication slots created on
a different database than the one where it is executed. This behavior
has been in place since PostgreSQL 9.4, when pg_drop_replication_slot()
was introduced.

However, commit ff539d mistakenly added the following incorrect
description in the documentation:

     For logical slots, this must be called when connected to
     the same database the slot was created on.

This commit removes that incorrect statement. A similar mistake was
also present in the documentation for the DROP_REPLICATION_SLOT
command, which has now been corrected as well.

Back-patch to all supported versions.

Author: Hayato Kuroda <[email protected]>
Reviewed-by: Fujii Masao <[email protected]>
Discussion: https://postgr.es/m/OSCPR01MB14966C6BE304B5BB2E58D4009F5DE2@OSCPR01MB14966.jpnprd01.prod.outlook.com
Backpatch-through: 13
doc/src/sgml/func.sgml
doc/src/sgml/protocol.sgml