[COMMITTERS] pgsql: Fix bugs in manipulation of PgBackendStatus.st_clienthostname.

2014-04-01 Thread Tom Lane
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.

[COMMITTERS] pgsql: Fix bugs in manipulation of PgBackendStatus.st_clienthostname.

2014-04-01 Thread Tom Lane
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.

[COMMITTERS] pgsql: Fix bugs in manipulation of PgBackendStatus.st_clienthostname.

2014-04-01 Thread Tom Lane
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.

[COMMITTERS] pgsql: Fix bugs in manipulation of PgBackendStatus.st_clienthostname.

2014-04-01 Thread Tom Lane
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.

[COMMITTERS] pgsql: Fix bug in the new GIN incomplete-split code.

2014-04-01 Thread Heikki Linnakangas
Fix bug in the new GIN incomplete-split code. Inserting a downlink to an internal page clears the incomplete-split flag of the child's left sibling, so the left sibling's LSN also needs to be updated and it needs to be marked dirty. The codepath for an insertion got this right, but the case where

[COMMITTERS] pgsql: Doc: improve discussion of reverse+forward host name lookup in p

2014-04-01 Thread Tom Lane
Doc: improve discussion of reverse+forward host name lookup in pg_hba.conf. Fix some grammatical issues and make it a bit more readable. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/6eff0accfe6b6170d10b91df769ea523b50927b8 Modified Files -- doc/src/sg

[COMMITTERS] pgsql: Remove dead check for backup block, replace with Assert.

2014-04-01 Thread Heikki Linnakangas
Remove dead check for backup block, replace with Assert. We don't use backup blocks with GIN vacuum records anymore, the page is always recreated from scratch. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/cfe992e7eb24fa92f93ee9d31f1f0f515a49c11d Modified Files --

[COMMITTERS] pgsql: Move SizeOfHeapNewCid next to xl_heap_new_cid struct.

2014-04-01 Thread Heikki Linnakangas
Move SizeOfHeapNewCid next to xl_heap_new_cid struct. They belong together, but the xl_heap_rewrite_mapping struct was wedged in between. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/f7534296b484fa73b064c87cc3a5062ba3803f3b Modified Files -- src/inclu

[COMMITTERS] pgsql: Fix bug in the new B-tree incomplete-split code.

2014-04-01 Thread Heikki Linnakangas
Fix bug in the new B-tree incomplete-split code. Inserting a downlink to an internal page clears the incomplete-split flag of the child's left sibling, so the left sibling's LSN also needs to be updated. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/954523cdfe229f1