pgsql: Consistently set all fields in pg_stat_replication to null inste

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Consistently set all fields in pg_stat_replication to null inste
Date: 2015-12-13 16:02:07
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a91bdf67c49ade2bdf6474607b64f9f0083db4a6

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-12-13 17:37:18 Re: pgsql: Fix bug leading to restoring unlogged relations from empty files
Previous Message Robert Haas 2015-12-13 02:22:09 Re: [COMMITTERS] pgsql: Handle policies during DROP OWNED BY