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 <kuroda.hay...@fujitsu.com>
Reviewed-by: Fujii Masao <masao.fu...@gmail.com>
Discussion: 
https://postgr.es/m/oscpr01mb14966c6be304b5bb2e58d4009f5...@oscpr01mb14966.jpnprd01.prod.outlook.com
Backpatch-through: 13

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c6002659fbd7757864da4d4f53a3261ff0103bc6

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

Reply via email to