Re: Documentaion fix.
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>, pgsql-hackers@lists.postgresql.org
Date: 2018-07-31T17:47:32Z
Lists: pgsql-hackers
On Tue, Jul 31, 2018 at 10:59:14AM -0400, Alvaro Herrera wrote: > How about pasting it like this? > > alvherre=# select * from pg_replication_slots \gx > ─[ RECORD 1 ]───────┬──────────── > slot_name │ node_a_slot > plugin │ > slot_type │ physical > datoid │ > database │ > temporary │ f > active │ f > active_pid │ > xmin │ > catalog_xmin │ > restart_lsn │ > confirmed_flush_lsn │ Each time this catalog is changed, this would become incorrect. My suggestion would be to change the query to that and call it a day: SELECT slot_name, slot_type, active FROM pg_replication_slots; -- Michael
Commits
-
Fix pg_replication_slot example output
- ae1011870a03 9.4.20 landed
- d9c99c666b11 10.5 landed
- d25c48d0c9f0 11.0 landed
- 93b94451825d 9.5.14 landed
- 6faaf1b7303a 9.6.10 landed
- 416db2412bda 12.0 landed