postgres.git / summary / log / commit / refs

commit    ae1011870a039f72efee6bacb02b7408af4714fc
Author:   Alvaro Herrera <alvherre@alvh.no-ip.org>
Date:     Fri Aug 03 20:25:25 2018 +0000
First released in: 9.4.20, 9.5.14

    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


doc/src/sgml/high-availability.sgml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml index cd5305620d4..bbbfc719a5e 100644 --- a/doc/src/sgml/high-availability.sgml +++ b/doc/src/sgml/high-availability.sgml @@ -931,10 +931,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 --------------+-----------+--------+----------+--------+------+------------- - 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</> [parent: a034c6737412]