[COMMITTERS] pgsql: Fix function comment for dumpACL()

2017-07-31 Thread Stephen Frost
Fix function comment for dumpACL() The comment for dumpACL() got neglected when initacls and initracls were added and the discussion of what 'racls' is wasn't very clear either. Per complaint from Tom. Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitdiff/d38e706f

[COMMITTERS] pgsql: Fix function comment for dumpACL()

2017-07-31 Thread Stephen Frost
Fix function comment for dumpACL() The comment for dumpACL() got neglected when initacls and initracls were added and the discussion of what 'racls' is wasn't very clear either. Per complaint from Tom. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/d2a51e3efcbab5b

[COMMITTERS] pgsql: Tighten coding for non-composite case in plperl's return_next.

2017-07-31 Thread Tom Lane
Tighten coding for non-composite case in plperl's return_next. Coverity complained about this code's practice of using scalar variables as single-element arrays. While that's really just nitpicking, it probably is more readable to declare them as arrays, so let's do that. A more important point

[COMMITTERS] pgsql: PL/Perl portability fix: absorb relevant -D switches from Perl.

2017-07-31 Thread Tom Lane
PL/Perl portability fix: absorb relevant -D switches from Perl. Back-patch of commit 3c163a7fc76debbbdad1bdd3c43721cffe72f4db, which see for more info. Also throw in commit b4cc35fbb709bd6fcae8998f041fd731c9acbf42, so Coverity doesn't whine about the back branches. Ashutosh Sharma, some adjustme

[COMMITTERS] pgsql: PL/Perl portability fix: absorb relevant -D switches from Perl.

2017-07-31 Thread Tom Lane
PL/Perl portability fix: absorb relevant -D switches from Perl. Back-patch of commit 3c163a7fc76debbbdad1bdd3c43721cffe72f4db, which see for more info. Also throw in commit b4cc35fbb709bd6fcae8998f041fd731c9acbf42, so Coverity doesn't whine about the back branches. Ashutosh Sharma, some adjustme

[COMMITTERS] pgsql: PL/Perl portability fix: avoid including XSUB.h in plperl.c.

2017-07-31 Thread Tom Lane
PL/Perl portability fix: avoid including XSUB.h in plperl.c. Back-patch of commit bebe174bb4462ef079a1d7eeafb82ff969f160a4, which see for more info. Patch by me, with some help from Ashutosh Sharma Discussion: https://postgr.es/m/CANFyU97OVQ3+Mzfmt3MhuUm5NwPU=-FtbNH5Eb7nZL9ua8=r...@mail.gmail.c

[COMMITTERS] pgsql: PL/Perl portability fix: avoid including XSUB.h in plperl.c.

2017-07-31 Thread Tom Lane
PL/Perl portability fix: avoid including XSUB.h in plperl.c. Back-patch of commit bebe174bb4462ef079a1d7eeafb82ff969f160a4, which see for more info. Patch by me, with some help from Ashutosh Sharma Discussion: https://postgr.es/m/CANFyU97OVQ3+Mzfmt3MhuUm5NwPU=-FtbNH5Eb7nZL9ua8=r...@mail.gmail.c

[COMMITTERS] pgsql: PL/Perl portability fix: avoid including XSUB.h in plperl.c.

2017-07-31 Thread Tom Lane
PL/Perl portability fix: avoid including XSUB.h in plperl.c. Back-patch of commit bebe174bb4462ef079a1d7eeafb82ff969f160a4, which see for more info. Patch by me, with some help from Ashutosh Sharma Discussion: https://postgr.es/m/CANFyU97OVQ3+Mzfmt3MhuUm5NwPU=-FtbNH5Eb7nZL9ua8=r...@mail.gmail.c

[COMMITTERS] pgsql: PL/Perl portability fix: avoid including XSUB.h in plperl.c.

2017-07-31 Thread Tom Lane
PL/Perl portability fix: avoid including XSUB.h in plperl.c. Back-patch of commit bebe174bb4462ef079a1d7eeafb82ff969f160a4, which see for more info. Patch by me, with some help from Ashutosh Sharma Discussion: https://postgr.es/m/CANFyU97OVQ3+Mzfmt3MhuUm5NwPU=-FtbNH5Eb7nZL9ua8=r...@mail.gmail.c

[COMMITTERS] pgsql: PL/Perl portability fix: avoid including XSUB.h in plperl.c.

2017-07-31 Thread Tom Lane
PL/Perl portability fix: avoid including XSUB.h in plperl.c. Back-patch of commit bebe174bb4462ef079a1d7eeafb82ff969f160a4, which see for more info. Patch by me, with some help from Ashutosh Sharma Discussion: https://postgr.es/m/CANFyU97OVQ3+Mzfmt3MhuUm5NwPU=-FtbNH5Eb7nZL9ua8=r...@mail.gmail.c

[COMMITTERS] pgsql: PL/Perl portability fix: absorb relevant -D switches from Perl.

2017-07-31 Thread Tom Lane
PL/Perl portability fix: absorb relevant -D switches from Perl. Back-patch of commit 3c163a7fc76debbbdad1bdd3c43721cffe72f4db, which see for more info. Also throw in commit b4cc35fbb709bd6fcae8998f041fd731c9acbf42, so Coverity doesn't whine about the back branches. Ashutosh Sharma, some adjustme

[COMMITTERS] pgsql: PL/Perl portability fix: absorb relevant -D switches from Perl.

2017-07-31 Thread Tom Lane
PL/Perl portability fix: absorb relevant -D switches from Perl. Back-patch of commit 3c163a7fc76debbbdad1bdd3c43721cffe72f4db, which see for more info. Also throw in commit b4cc35fbb709bd6fcae8998f041fd731c9acbf42, so Coverity doesn't whine about the back branches. Ashutosh Sharma, some adjustme

[COMMITTERS] pgsql: PL/Perl portability fix: absorb relevant -D switches from Perl.

2017-07-31 Thread Tom Lane
PL/Perl portability fix: absorb relevant -D switches from Perl. Back-patch of commit 3c163a7fc76debbbdad1bdd3c43721cffe72f4db, which see for more info. Also throw in commit b4cc35fbb709bd6fcae8998f041fd731c9acbf42, so Coverity doesn't whine about the back branches. Ashutosh Sharma, some adjustme

[COMMITTERS] pgsql: Record full paths of programs sought by "configure".

2017-07-31 Thread Tom Lane
Record full paths of programs sought by "configure". Previously we had a mix of uses of AC_CHECK_PROG[S] and AC_PATH_PROG[S]. The only difference between those macros is that the latter emits the full path to the program it finds, eg "/usr/bin/prove", whereas the former emits just "prove". Let's

[COMMITTERS] pgsql: Doc: specify that the minimum supported version of Perl is 5.8.3

2017-07-31 Thread Tom Lane
Doc: specify that the minimum supported version of Perl is 5.8.3. Previously the docs just said "5.8 or later". Experimentation shows that while you can build on Unix from a git checkout with 5.8.0, compiling recent PL/Perl requires at least 5.8.1, and you won't be able to run the TAP tests with

[COMMITTERS] pgsql: Doc: specify that the minimum supported version of Perl is 5.8.3

2017-07-31 Thread Tom Lane
Doc: specify that the minimum supported version of Perl is 5.8.3. Previously the docs just said "5.8 or later". Experimentation shows that while you can build on Unix from a git checkout with 5.8.0, compiling recent PL/Perl requires at least 5.8.1, and you won't be able to run the TAP tests with

[COMMITTERS] pgsql: Doc: specify that the minimum supported version of Perl is 5.8.3

2017-07-31 Thread Tom Lane
Doc: specify that the minimum supported version of Perl is 5.8.3. Previously the docs just said "5.8 or later". Experimentation shows that while you can build on Unix from a git checkout with 5.8.0, compiling recent PL/Perl requires at least 5.8.1, and you won't be able to run the TAP tests with

[COMMITTERS] pgsql: Doc: specify that the minimum supported version of Perl is 5.8.3

2017-07-31 Thread Tom Lane
Doc: specify that the minimum supported version of Perl is 5.8.3. Previously the docs just said "5.8 or later". Experimentation shows that while you can build on Unix from a git checkout with 5.8.0, compiling recent PL/Perl requires at least 5.8.1, and you won't be able to run the TAP tests with

[COMMITTERS] pgsql: Doc: specify that the minimum supported version of Perl is 5.8.3

2017-07-31 Thread Tom Lane
Doc: specify that the minimum supported version of Perl is 5.8.3. Previously the docs just said "5.8 or later". Experimentation shows that while you can build on Unix from a git checkout with 5.8.0, compiling recent PL/Perl requires at least 5.8.1, and you won't be able to run the TAP tests with

[COMMITTERS] pgsql: Doc: specify that the minimum supported version of Perl is 5.8.3

2017-07-31 Thread Tom Lane
Doc: specify that the minimum supported version of Perl is 5.8.3. Previously the docs just said "5.8 or later". Experimentation shows that while you can build on Unix from a git checkout with 5.8.0, compiling recent PL/Perl requires at least 5.8.1, and you won't be able to run the TAP tests with

Re: [COMMITTERS] pgsql: Work around Msys weakness in Testlib.pm's command_like()

2017-07-31 Thread Peter Eisentraut
On 7/26/17 22:49, Andrew Dunstan wrote: > Work around Msys weakness in Testlib.pm's command_like() > > When output of IPC::Run::run () is redirected to scalar references, in > certain circumstances the Msys perl does not correctly detect that the > end of file has been seen, making the test hang i

[COMMITTERS] pgsql: Always use 2048 bit DH parameters for OpenSSL ephemeral DH ciphe

2017-07-31 Thread Heikki Linnakangas
Always use 2048 bit DH parameters for OpenSSL ephemeral DH ciphers. 1024 bits is considered weak these days, but OpenSSL always passes 1024 as the key length to the tmp_dh callback. All the code to handle other key lengths is, in fact, dead. To remedy those issues: * Only include hard-coded 2048

[COMMITTERS] pgsql: Doc: add v10 release notes entries for the DH parameter changes.

2017-07-31 Thread Heikki Linnakangas
Doc: add v10 release notes entries for the DH parameter changes. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/4427b515e6195bd2304e082ea5a5c5d6d36c4eb5 Modified Files -- doc/src/sgml/release-10.sgml | 37 + 1 file cha

[COMMITTERS] pgsql: Fix typo

2017-07-31 Thread Peter Eisentraut
Fix typo Author: Etsuro Fujita Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/f40254a799f7057a415917dacb5ba7eab5b17a99 Modified Files -- src/backend/executor/execMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committe

[COMMITTERS] pgsql: Fix typo

2017-07-31 Thread Peter Eisentraut
Fix typo Author: Masahiko Sawada Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/0b02e3f1289e0454d313e6add45f43a287ebaf8b Modified Files -- src/bin/pg_upgrade/info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committers m

[COMMITTERS] pgsql: Fix comment.

2017-07-31 Thread Tatsuo Ishii
Fix comment. XLByteToSeg and XLByteToPrevSeg calculate only a segment number. The definition of these macros were modified by commit dfda6ebaec6763090fb78b458a979b558c50b39b but the comment remain unchanged. Patch by Yugo Nagata. Back patched to 9.3 and beyond. Branch -- REL9_5_STABLE Deta

[COMMITTERS] pgsql: Fix comment.

2017-07-31 Thread Tatsuo Ishii
Fix comment. XLByteToSeg and XLByteToPrevSeg calculate only a segment number. The definition of these macros were modified by commit dfda6ebaec6763090fb78b458a979b558c50b39b but the comment remain unchanged. Patch by Yugo Nagata. Back patched to 9.3 and beyond. Branch -- master Details ---

[COMMITTERS] pgsql: Fix comment.

2017-07-31 Thread Tatsuo Ishii
Fix comment. XLByteToSeg and XLByteToPrevSeg calculate only a segment number. The definition of these macros were modified by commit dfda6ebaec6763090fb78b458a979b558c50b39b but the comment remain unchanged. Patch by Yugo Nagata. Back patched to 9.3 and beyond. Branch -- REL9_3_STABLE Deta

[COMMITTERS] pgsql: Fix comment.

2017-07-31 Thread Tatsuo Ishii
Fix comment. XLByteToSeg and XLByteToPrevSeg calculate only a segment number. The definition of these macros were modified by commit dfda6ebaec6763090fb78b458a979b558c50b39b but the comment remain unchanged. Patch by Yugo Nagata. Back patched to 9.3 and beyond. Branch -- REL9_6_STABLE Deta

[COMMITTERS] pgsql: Fix comment.

2017-07-31 Thread Tatsuo Ishii
Fix comment. XLByteToSeg and XLByteToPrevSeg calculate only a segment number. The definition of these macros were modified by commit dfda6ebaec6763090fb78b458a979b558c50b39b but the comment remain unchanged. Patch by Yugo Nagata. Back patched to 9.3 and beyond. Branch -- REL9_4_STABLE Deta