diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-04-01 21:30:08 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-04-01 21:30:34 -0400 |
commit | 682c5bbec5d9533d2d654d6a096c36bbae9f5bd0 (patch) | |
tree | 23a40f18ebc4668fab58f0d84f6d85c5052d6796 /src/backend/utils/adt/jsonb_gin.c | |
parent | 8bbbcb91bae1489471d11fef269533bc4df2f766 (diff) | |
download | postgresql-682c5bbec5d9533d2d654d6a096c36bbae9f5bd0.tar.gz postgresql-682c5bbec5d9533d2d654d6a096c36bbae9f5bd0.zip |
Fix bugs in manipulation of PgBackendStatus.st_clienthostname.
Initialization of this field was not being done according to the
st_changecount protocol (it has to be done within the changecount increment
range, not outside). And the test to see if the value should be reported
as null was wrong. Noted while perusing uses of Port.remote_hostname.
This was wrong from the introduction of this code (commit 4a25bc145),
so back-patch to 9.1.
Diffstat (limited to 'src/backend/utils/adt/jsonb_gin.c')
0 files changed, 0 insertions, 0 deletions