diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-08-03 16:34:59 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-08-03 16:34:59 -0400 |
commit | d25c48d0c9f09355eaee4bb8f2c21c354ac47358 (patch) | |
tree | 22f8f07c31d882ba4629fc689b97c033d7026314 | |
parent | d8b2beb269c9606513a1693ac2e21586aa693e1a (diff) | |
download | postgresql-d25c48d0c9f09355eaee4bb8f2c21c354ac47358.tar.gz postgresql-d25c48d0c9f09355eaee4bb8f2c21c354ac47358.zip |
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
-rw-r--r-- | doc/src/sgml/high-availability.sgml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml index 934eb9052d9..8cb77f85ec0 100644 --- a/doc/src/sgml/high-availability.sgml +++ b/doc/src/sgml/high-availability.sgml @@ -966,10 +966,10 @@ postgres=# SELECT * FROM pg_create_physical_replication_slot('node_a_slot'); -------------+----- node_a_slot | -postgres=# SELECT * FROM pg_replication_slots; - slot_name | slot_type | datoid | database | active | xmin | restart_lsn | confirmed_flush_lsn --------------+-----------+--------+----------+--------+------+-------------+--------------------- - node_a_slot | physical | | | f | | | +postgres=# SELECT slot_name, slot_type, active FROM pg_replication_slots; + slot_name | slot_type | active +-------------+-----------+-------- + node_a_slot | physical | f (1 row) </programlisting> To configure the standby to use this slot, <varname>primary_slot_name</varname> |