[COMMITTERS] pgsql: doc: Fix table column count

2017-08-17 Thread Peter Eisentraut
doc: Fix table column count Author: Erik Rijkers Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/bfe089e3724ad8f9c8922165738d837b8641a6e6 Modified Files -- doc/src/sgml/high-availability.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- S

[COMMITTERS] pgsql: doc: Fix table column count

2017-08-17 Thread Peter Eisentraut
doc: Fix table column count Author: Erik Rijkers Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/28c56553cb39174d0d33e5ed8200dc5e508ba5d8 Modified Files -- doc/src/sgml/high-availability.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[COMMITTERS] pgsql: Add missing "static" marker.

2017-08-17 Thread Tom Lane
Add missing "static" marker. Per pademelon. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/963af96920fabf5fd7ee28ecc96521f371c13a4b Modified Files -- src/backend/optimizer/prep/prepunion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent

[COMMITTERS] pgsql: Remove bogus line from comment.

2017-08-17 Thread Robert Haas
Remove bogus line from comment. Spotted by Tom Lane Discussion: http://postgr.es/m/27897.1502901...@sss.pgh.pa.us Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/b469387fc09a00e1ea9c7e010fafdcf117299cad Modified Files -- contrib/postgres_fdw/pos

[COMMITTERS] pgsql: Remove bogus line from comment.

2017-08-17 Thread Robert Haas
Remove bogus line from comment. Spotted by Tom Lane Discussion: http://postgr.es/m/27897.1502901...@sss.pgh.pa.us Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitdiff/2a028de1aea29b876b54fdbcac07a41d659125dc Modified Files -- contrib/postgres_fdw/pos

[COMMITTERS] pgsql: Remove bogus line from comment.

2017-08-17 Thread Robert Haas
Remove bogus line from comment. Spotted by Tom Lane Discussion: http://postgr.es/m/27897.1502901...@sss.pgh.pa.us Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/79f457e53ac37b5d383845c410e5a41457d74950 Modified Files -- contrib/postgres_fdw/postgres_f

[COMMITTERS] pgsql: doc: Update RFC URLs

2017-08-17 Thread Peter Eisentraut
doc: Update RFC URLs Consistently use the IETF HTML links instead of a random mix of different sites and formats. Correct one RFC number and fix one broken link. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/d54285935072175aac1c446e15ec778b08a8fd75 Modified File

[COMMITTERS] pgsql: doc: Update RFC URLs

2017-08-17 Thread Peter Eisentraut
doc: Update RFC URLs Consistently use the IETF HTML links instead of a random mix of different sites and formats. Correct one RFC number and fix one broken link. Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/ca49d69b7c8f04c495ce39ff4460e017656db901 Modifi

[COMMITTERS] pgsql: Further tweaks to compiler flags for PL/Perl on Windows.

2017-08-17 Thread Tom Lane
Further tweaks to compiler flags for PL/Perl on Windows. It now emerges that we can only rely on Perl to tell us we must use -D_USE_32BIT_TIME_T if it's Perl 5.13.4 or later. For older versions, revert to our previous practice of assuming we need that symbol in all 32-bit Windows builds. This is

[COMMITTERS] pgsql: Further tweaks to compiler flags for PL/Perl on Windows.

2017-08-17 Thread Tom Lane
Further tweaks to compiler flags for PL/Perl on Windows. It now emerges that we can only rely on Perl to tell us we must use -D_USE_32BIT_TIME_T if it's Perl 5.13.4 or later. For older versions, revert to our previous practice of assuming we need that symbol in all 32-bit Windows builds. This is

[COMMITTERS] pgsql: Further tweaks to compiler flags for PL/Perl on Windows.

2017-08-17 Thread Tom Lane
Further tweaks to compiler flags for PL/Perl on Windows. It now emerges that we can only rely on Perl to tell us we must use -D_USE_32BIT_TIME_T if it's Perl 5.13.4 or later. For older versions, revert to our previous practice of assuming we need that symbol in all 32-bit Windows builds. This is

[COMMITTERS] pgsql: Further tweaks to compiler flags for PL/Perl on Windows.

2017-08-17 Thread Tom Lane
Further tweaks to compiler flags for PL/Perl on Windows. It now emerges that we can only rely on Perl to tell us we must use -D_USE_32BIT_TIME_T if it's Perl 5.13.4 or later. For older versions, revert to our previous practice of assuming we need that symbol in all 32-bit Windows builds. This is

[COMMITTERS] pgsql: Further tweaks to compiler flags for PL/Perl on Windows.

2017-08-17 Thread Tom Lane
Further tweaks to compiler flags for PL/Perl on Windows. It now emerges that we can only rely on Perl to tell us we must use -D_USE_32BIT_TIME_T if it's Perl 5.13.4 or later. For older versions, revert to our previous practice of assuming we need that symbol in all 32-bit Windows builds. This is

[COMMITTERS] pgsql: Further tweaks to compiler flags for PL/Perl on Windows.

2017-08-17 Thread Tom Lane
Further tweaks to compiler flags for PL/Perl on Windows. It now emerges that we can only rely on Perl to tell us we must use -D_USE_32BIT_TIME_T if it's Perl 5.13.4 or later. For older versions, revert to our previous practice of assuming we need that symbol in all 32-bit Windows builds. This is

[COMMITTERS] pgsql: Further tweaks to compiler flags for PL/Perl on Windows.

2017-08-17 Thread Tom Lane
Further tweaks to compiler flags for PL/Perl on Windows. It now emerges that we can only rely on Perl to tell us we must use -D_USE_32BIT_TIME_T if it's Perl 5.13.4 or later. For older versions, revert to our previous practice of assuming we need that symbol in all 32-bit Windows builds. This is

[COMMITTERS] pgsql: Fix ExecReScanGatherMerge.

2017-08-17 Thread Tom Lane
Fix ExecReScanGatherMerge. Not surprisingly, since it'd never ever been tested, ExecReScanGatherMerge didn't work. Fix it, and add a regression test case to exercise it. Amit Kapila Discussion: https://postgr.es/m/caa4ek1jkbyysfjnh9m349u_nnjqetueny_y1vuc_kjiu0bx...@mail.gmail.com Branch -

[COMMITTERS] pgsql: Fix ExecReScanGatherMerge.

2017-08-17 Thread Tom Lane
Fix ExecReScanGatherMerge. Not surprisingly, since it'd never ever been tested, ExecReScanGatherMerge didn't work. Fix it, and add a regression test case to exercise it. Amit Kapila Discussion: https://postgr.es/m/caa4ek1jkbyysfjnh9m349u_nnjqetueny_y1vuc_kjiu0bx...@mail.gmail.com Branch -

[COMMITTERS] pgsql: Attempt to clarify comments related to force_parallel_mode.

2017-08-17 Thread Robert Haas
Attempt to clarify comments related to force_parallel_mode. Per discussion with Tom Lane. Discussion: http://postgr.es/m/28589.1502902...@sss.pgh.pa.us Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/1e56883a528eb623c9a55ec7e43b4eee3722014b Modified Files

[COMMITTERS] pgsql: Refactor validation of new partitions a little bit.

2017-08-17 Thread Robert Haas
Refactor validation of new partitions a little bit. Move some logic that is currently in ATExecAttachPartition to separate functions to facilitate future code reuse. Ashutosh Bapat and Jeevan Ladhe Discussion: http://postgr.es/m/ca+tgmobbnamyvii0prdg9pp_jlhsuvq7u5sirrvv0teffu5...@mail.gmail.com

[COMMITTERS] pgsql: Don't lock tables in RelationGetPartitionDispatchInfo.

2017-08-17 Thread Robert Haas
Don't lock tables in RelationGetPartitionDispatchInfo. Instead, lock them in the caller using find_all_inheritors so that they get locked in the standard order, minimizing deadlock risks. Also in RelationGetPartitionDispatchInfo, avoid opening tables which are not partitioned; there's no need. A

[COMMITTERS] pgsql: Don't lock tables in RelationGetPartitionDispatchInfo.

2017-08-17 Thread Robert Haas
Don't lock tables in RelationGetPartitionDispatchInfo. Instead, lock them in the caller using find_all_inheritors so that they get locked in the standard order, minimizing deadlock risks. Also in RelationGetPartitionDispatchInfo, avoid opening tables which are not partitioned; there's no need. A

[COMMITTERS] pgsql: Temporarily revert test case from a2b70c89ca1a5fcf6181d3c777d82e

2017-08-17 Thread Tom Lane
Temporarily revert test case from a2b70c89ca1a5fcf6181d3c777d82e7b83d2de1b. That code patch was good as far as it went, but the associated test case has exposed fundamental brain damage in the parallel scan mechanism, which is going to take nontrivial work to correct. In the interests of getting

[COMMITTERS] pgsql: Temporarily revert test case from a2b70c89ca1a5fcf6181d3c777d82e

2017-08-17 Thread Tom Lane
Temporarily revert test case from a2b70c89ca1a5fcf6181d3c777d82e7b83d2de1b. That code patch was good as far as it went, but the associated test case has exposed fundamental brain damage in the parallel scan mechanism, which is going to take nontrivial work to correct. In the interests of getting