]> granicus.if.org Git - postgresql/commit
Consistently set all fields in pg_stat_replication to null instead of 0
authorMagnus Hagander <magnus@hagander.net>
Sun, 13 Dec 2015 15:53:38 +0000 (16:53 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 13 Dec 2015 15:53:38 +0000 (16:53 +0100)
commita91bdf67c49ade2bdf6474607b64f9f0083db4a6
treeda374a91ce92cdb15aba5a90a520abdf0865f637
parent263c19572bd4947b4cf977d61db11b74b1745570
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).
src/backend/replication/walsender.c