[COMMITTERS] pgsql: doc: Change xref style to number only

2017-04-03 Thread Peter Eisentraut
doc: Change xref style to number only Change the style of links generated by xrefs to section number only, as it was with DSSSL, instead of number and title, as is the default of the XSLT stylesheets. Our documentation is mostly written expecting the old style, so keep that for the time being, pe

[COMMITTERS] pgsql: Handle change of slot name in logical replication apply

2017-04-03 Thread Peter Eisentraut
Handle change of slot name in logical replication apply Since change of slot name is a supported operation, handle it more gracefully, instead of in the this-should-not-happen way. Author: Petr Jelinek Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/1116108c9268200

[COMMITTERS] pgsql: Fix whitespace

2017-04-03 Thread Peter Eisentraut
Fix whitespace Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/8df9994bc3372fc54214932bfa3a5caa05783ffa Modified Files -- src/test/regress/expected/plpgsql.out | 2 +- src/test/regress/sql/plpgsql.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletio

[COMMITTERS] pgsql: Make header self-contained

2017-04-03 Thread Peter Eisentraut
Make header self-contained Add necessary include files for things used in the header. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/9fa6e08d4a16f9b0461743cff35781e16308c106 Modified Files -- src/include/postmaster/autovacuum.h | 2 ++ 1 file changed, 2

[COMMITTERS] pgsql: Try and silence spurious Coverity warning.

2017-04-03 Thread Andrew Gierth
Try and silence spurious Coverity warning. gset_data (aka gd) in planner.c is always non-null if and only if parse->groupingSets is non-null, but Coverity doesn't know that and complains. Feed it an assertion to see if that keeps it happy. Branch -- master Details --- http://git.postgre

[COMMITTERS] pgsql: Properly acquire buffer lock for page-at-a-time hash vacuum.

2017-04-03 Thread Robert Haas
Properly acquire buffer lock for page-at-a-time hash vacuum. In a couple of places, _hash_kill_items was mistakenly called with the buffer lock not held. Repair. Ashutosh Sharma, per a report from Andreas Seltenreich Discussion: http://postgr.es/m/87o9wo8o0j@credativ.de Branch -- maste

[COMMITTERS] pgsql: Abstract logic to allow for multiple kinds of child rels.

2017-04-03 Thread Robert Haas
Abstract logic to allow for multiple kinds of child rels. Currently, the only type of child relation is an "other member rel", which is the child of a baserel, but in the future joins and even upper relations may have child rels. To facilitate that, introduce macros that test to test for particul

[COMMITTERS] pgsql: Update comment.

2017-04-03 Thread Robert Haas
Update comment. Craig Ringer, reviewed by me. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/c8b5c3cb06addfb11d38a85fd8ac7efabb56e811 Modified Files -- src/backend/storage/ipc/procarray.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- Sent

[COMMITTERS] pgsql: Print new RelOptInfo field top_parent_relids in outfuncs.c

2017-04-03 Thread Robert Haas
Print new RelOptInfo field top_parent_relids in outfuncs.c I intended to include this adjustment in the previous commit (7a39b5e4d11229ece930a51fd7cb29e535db44940) but messed up. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/7cdf6668cf37f48808604906882f6131d3fef251

[COMMITTERS] pgsql: Further corrections and improvements to partitioning documentati

2017-04-03 Thread Robert Haas
Further corrections and improvements to partitioning documentation. Amit Langote Discussion: http://postgr.es/m/80f6b049-e882-f6c3-f82c-f44baa94d...@lab.ntt.co.jp Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/334bf9c77d0630c65d83f59b42b007cf9523cacf Modified Fil

[COMMITTERS] pgsql: Expand hash indexes more gradually.

2017-04-03 Thread Robert Haas
Expand hash indexes more gradually. Since hash indexes typically have very few overflow pages, adding a new splitpoint essentially doubles the on-disk size of the index, which can lead to large and abrupt increases in disk usage (and perhaps long delays on occasion). To mitigate this problem to s