[COMMITTERS] pgsql: Fixed ECPG to correctly handle out-of-scope cursor declarations

2017-09-11 Thread Michael Meskes
Fixed ECPG to correctly handle out-of-scope cursor declarations with pointers or array variables. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/35e15688269a2af13f4cddff0c13536a9a42115d Modified Files -- src/interfaces/ecpg/preproc/ecpg.header | 2 +- 1

[COMMITTERS] pgsql: Fix RecursiveCopy.pm to cope with disappearing files.

2017-09-11 Thread Tom Lane
Fix RecursiveCopy.pm to cope with disappearing files. When copying from an active database tree, it's possible for files to be deleted after we see them in a readdir() scan but before we can open them. (Once we've got a file open, we don't expect any further errors from it getting unlinked, though

[COMMITTERS] pgsql: Fix RecursiveCopy.pm to cope with disappearing files.

2017-09-11 Thread Tom Lane
Fix RecursiveCopy.pm to cope with disappearing files. When copying from an active database tree, it's possible for files to be deleted after we see them in a readdir() scan but before we can open them. (Once we've got a file open, we don't expect any further errors from it getting unlinked, though

[COMMITTERS] pgsql: Fix RecursiveCopy.pm to cope with disappearing files.

2017-09-11 Thread Tom Lane
Fix RecursiveCopy.pm to cope with disappearing files. When copying from an active database tree, it's possible for files to be deleted after we see them in a readdir() scan but before we can open them. (Once we've got a file open, we don't expect any further errors from it getting unlinked, though

Re: [COMMITTERS] pgsql: Changed order of statements and added an additiona MSVC safeguar

2017-09-11 Thread Tom Lane
Michael Meskes writes: > Changed order of statements and added an additiona MSVC safeguard to make ecpg > thread test cases work on Windows. Now that some buildfarm owners have enabled ecpg tests on their Windows machines, it'd be a good idea to back-patch this. I see that woodlouse is consisten

[COMMITTERS] pgsql: PG 10 release notes: change trigger transition tables

2017-09-11 Thread Bruce Momjian
PG 10 release notes: change trigger transition tables Add attribution of trigger transition tables for Thomas Munro. Reported-by: Thomas Munro Discussion: https://postgr.es/m/CAEepm=2bDFgr4ut+1-QjKQY4MA=5ek8ap3nyb19y2tptl6x...@mail.gmail.com Backpatch-through: 10 Branch -- master Detail

[COMMITTERS] pgsql: PG 10 release notes: change trigger transition tables

2017-09-11 Thread Bruce Momjian
PG 10 release notes: change trigger transition tables Add attribution of trigger transition tables for Thomas Munro. Reported-by: Thomas Munro Discussion: https://postgr.es/m/CAEepm=2bDFgr4ut+1-QjKQY4MA=5ek8ap3nyb19y2tptl6x...@mail.gmail.com Backpatch-through: 10 Branch -- REL_10_STABLE

[COMMITTERS] pgsql: PG 10 release notes: update PL/Tcl functions item

2017-09-11 Thread Bruce Momjian
PG 10 release notes: update PL/Tcl functions item Update attribution of PL/Tcl functions item from Jim Nasby to Karl Lehenbauer. Reported-by: Jim Nasby Discussion: https://postgr.es/m/ed42f3d6-4251-dabc-747f-1ff936763...@nasby.net Backpatch-through: 10 Branch -- REL_10_STABLE Details ---

[COMMITTERS] pgsql: PG 10 release notes: update PL/Tcl functions item

2017-09-11 Thread Bruce Momjian
PG 10 release notes: update PL/Tcl functions item Update attribution of PL/Tcl functions item from Jim Nasby to Karl Lehenbauer. Reported-by: Jim Nasby Discussion: https://postgr.es/m/ed42f3d6-4251-dabc-747f-1ff936763...@nasby.net Backpatch-through: 10 Branch -- master Details --- ht

[COMMITTERS] pgsql: pg_receivewal: Add --endpos option

2017-09-11 Thread Peter Eisentraut
pg_receivewal: Add --endpos option This is primarily useful for making tests of this utility more deterministic, to avoid the complexity of starting pg_receivewal as a deamon in TAP tests. While this is less useful than the equivalent pg_recvlogical option, users can as well use it for example to

[COMMITTERS] pgsql: Constify numeric.c.

2017-09-11 Thread Andres Freund
Constify numeric.c. This allows the compiler/linker to move the static variables to a read-only segment. Not all the signature changes are necessary, but it seems better to apply const in a consistent manner. Reviewed-By: Tom Lane Discussion: https://postgr.es/m/20170910232154.asgml44ji2b7l...@

[COMMITTERS] pgsql: Prefer argument name over "$n" for the refname of a plpgsql argu

2017-09-11 Thread Tom Lane
Prefer argument name over "$n" for the refname of a plpgsql argument. If a function argument has a name, use that as the "refname" of the PLpgSQL_datum representing the argument, instead of $n as before. This allows better error messages in some cases. Pavel Stehule, reviewed by Jeevan Chalke Di

[COMMITTERS] pgsql: doc: Document function pointer source code style

2017-09-11 Thread Peter Eisentraut
doc: Document function pointer source code style as implemented in 1356f78ea93395c107cbc75dc923e29a0efccd8a Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/3612019a7925012445af29b9ea7af84bd68a5932 Modified Files -- doc/src/sgml/sources.sgml | 18 +++

[COMMITTERS] pgsql: Translation updates

2017-09-11 Thread Peter Eisentraut
Translation updates Source-Git-URL: git://git.postgresql.org/git/pgtranslation/messages.git Source-Git-Hash: 0c1fdae472e52197eb0e5ccdd2cfdd3654f76834 Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/bd72c37b160623bf3f1c9cea82b948ee53a22567 Modified Files

Re: [COMMITTERS] pgsql: Message style fixes

2017-09-11 Thread Peter Eisentraut
On 9/11/17 11:58, Tom Lane wrote: > Peter Eisentraut writes: >> Message style fixes > > Hm. Aren't your changes in int8.c and numutils.c > reverting changes that were made intentionally in > commit 9a34123bc315e55b33038464422ef1cd2b67dab2 ? Yeah, but that part of that change was apparently mist

Re: [COMMITTERS] pgsql: Message style fixes

2017-09-11 Thread Tom Lane
Peter Eisentraut writes: > Message style fixes Hm. Aren't your changes in int8.c and numutils.c reverting changes that were made intentionally in commit 9a34123bc315e55b33038464422ef1cd2b67dab2 ? regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-commi

[COMMITTERS] pgsql: Message style fixes

2017-09-11 Thread Peter Eisentraut
Message style fixes Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/f552d18f3edd178598564d20f09577a623b1e302 Modified Files -- doc/src/sgml/catalogs.sgml | 2 +- doc/src/sgml/perform.sgml | 4 ++-- doc/src/sgml/r

[COMMITTERS] pgsql: Message style fixes

2017-09-11 Thread Peter Eisentraut
Message style fixes Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/821fb8cdbf700a8aadbe12d5b46ca4e61be5a8a8 Modified Files -- doc/src/sgml/catalogs.sgml | 2 +- doc/src/sgml/perform.sgml | 4 ++-- doc/src/sgml/ref/crea