Skip to content

Commit d25c48d

Browse files
committed
Fix pg_replication_slot example output
The example output of pg_replication_slot is wrong. Correct it and make the output stable by explicitly listing columns to output. Author: Kyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp> Reviewed-by: Michael Paquier <michael@paquier.xyz> Discussion: https://postgr.es/m/20180731.190909.42582169.horiguchi.kyotaro@lab.ntt.co.jp
1 parent d8b2beb commit d25c48d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/sgml/high-availability.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -966,10 +966,10 @@ postgres=# SELECT * FROM pg_create_physical_replication_slot('node_a_slot');
966966
-------------+-----
967967
node_a_slot |
968968

969-
postgres=# SELECT * FROM pg_replication_slots;
970-
slot_name | slot_type | datoid | database | active | xmin | restart_lsn | confirmed_flush_lsn
971-
-------------+-----------+--------+----------+--------+------+-------------+---------------------
972-
node_a_slot | physical | | | f | | |
969+
postgres=# SELECT slot_name, slot_type, active FROM pg_replication_slots;
970+
slot_name | slot_type | active
971+
-------------+-----------+--------
972+
node_a_slot | physical | f
973973
(1 row)
974974
</programlisting>
975975
To configure the standby to use this slot, <varname>primary_slot_name</varname>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy