Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd9c99c6

Browse files
committed
Fix pg_replication_slot example output
The example output of pg_replication_slot is wrong. Correct it and makethe 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 parented5d819 commitd9c99c6

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
@@ -960,10 +960,10 @@ postgres=# SELECT * FROM pg_create_physical_replication_slot('node_a_slot');
960960
-------------+-----
961961
node_a_slot |
962962

963-
postgres=# SELECT* FROM pg_replication_slots;
964-
slot_name | slot_type |datoid | database |active| xmin | restart_lsn | confirmed_flush_lsn
965-
-------------+-----------+--------+----------+--------+------+-------------+---------------------
966-
node_a_slot | physical | | | f | | |
963+
postgres=# SELECTslot_name, slot_type, active FROM pg_replication_slots;
964+
slot_name | slot_type | active
965+
-------------+-----------+--------
966+
node_a_slot | physical |f
967967
(1 row)
968968
</programlisting>
969969
To configure the standby to use this slot, <varname>primary_slot_name</>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp