Make pg_stat_wal_receiver consistent with the WAL receiver's shmem info d140f2f3 has renamed receivedUpto to flushedUpto, and has added writtenUpto to the WAL receiver's shared memory information, but pg_stat_wal_receiver was not consistent with that. This commit renames received_lsn to flushed_lsn, and adds a new column called written_lsn.
Bump catalog version. Author: Michael Paquier Reviewed-by: Álvaro Herrera Discussion: https://postgr.es/m/20200515090817.ga212...@paquier.xyz Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/2c8dd05d6cbc86b7ad21cfd7010e041bb4c3950b Modified Files -------------- doc/src/sgml/monitoring.sgml | 12 ++++++++- src/backend/catalog/system_views.sql | 3 ++- src/backend/replication/walreceiver.c | 48 ++++++++++++++++++++--------------- src/include/catalog/catversion.h | 2 +- src/include/catalog/pg_proc.dat | 6 ++--- src/test/regress/expected/rules.out | 5 ++-- 6 files changed, 47 insertions(+), 29 deletions(-)