pgsql: Consistently set all fields in pg_stat_replication to null inste

Started by Magnus Haganderalmost 11 years ago1 messagescomitters
Jump to latest
#1Magnus Hagander
magnus@hagander.net

Consistently set all fields in pg_stat_replication to null instead of 0

Previously the "sent" field would be set to 0 and all other xlog
pointers be set to NULL if there were no valid values (such as when
in a backup sending walsender).

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/28c366789e78af82dfd89ecb6cc32724f58d6a1b

Modified Files
--------------
src/backend/replication/walsender.c | 3 +++
1 file changed, 3 insertions(+)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers