Subject: pgsql: doc: Remove incorrect description about dropping replication slo

From: Fujii Masao <[email-masked]>
Date: Fri, 21 Mar 2025 04:05:41 +0000

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-masked]>
Reviewed-by: Fujii Masao <[email-masked]>
Discussion: https://postgr.es/m/[email-masked]
Backpatch-through: 13

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/40c959271279abf362b57ffe613c7db80e11fc23

Modified Files
--------------
doc/src/sgml/func.sgml     | 3 +--
doc/src/sgml/protocol.sgml | 2 --
2 files changed, 1 insertion(+), 4 deletions(-)