[COMMITTERS] pgsql: Add new files to nls.mk and add translation markers

2017-08-02 Thread Peter Eisentraut
Add new files to nls.mk and add translation markers Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/5ff3d73813ebcc3ff80be77c30b458d728951036 Modified Files -- src/bin/pg_basebackup/nls.mk | 4 ++-- src/bin/pg_basebackup/walmethods.c | 2 +- src/inter

[COMMITTERS] pgsql: Fix pg_dump's errno checking for zlib I/O

2017-08-02 Thread Alvaro Herrera
Fix pg_dump's errno checking for zlib I/O Some error reports were reporting strerror(errno), which for some error conditions coming from zlib are wrong, resulting in confusing reports such as pg_restore: [compress_io] could not read from input file: Success which makes no sense. To correctly ex

[COMMITTERS] pgsql: Fix pg_dump's errno checking for zlib I/O

2017-08-02 Thread Alvaro Herrera
Fix pg_dump's errno checking for zlib I/O Some error reports were reporting strerror(errno), which for some error conditions coming from zlib are wrong, resulting in confusing reports such as pg_restore: [compress_io] could not read from input file: Success which makes no sense. To correctly ex

[COMMITTERS] pgsql: Fix pg_dump's errno checking for zlib I/O

2017-08-02 Thread Alvaro Herrera
Fix pg_dump's errno checking for zlib I/O Some error reports were reporting strerror(errno), which for some error conditions coming from zlib are wrong, resulting in confusing reports such as pg_restore: [compress_io] could not read from input file: Success which makes no sense. To correctly ex

[COMMITTERS] pgsql: Fix pg_dump's errno checking for zlib I/O

2017-08-02 Thread Alvaro Herrera
Fix pg_dump's errno checking for zlib I/O Some error reports were reporting strerror(errno), which for some error conditions coming from zlib are wrong, resulting in confusing reports such as pg_restore: [compress_io] could not read from input file: Success which makes no sense. To correctly ex

[COMMITTERS] pgsql: Add pgtcl back to the list of externally-maintained client inter

2017-08-02 Thread Tom Lane
Add pgtcl back to the list of externally-maintained client interfaces. FlightAware is still maintaining this, and indeed is seemingly being more active with it than the pgtclng fork is. List both, for the time being anyway. In the back branches, also back-port commit e20f679f6 and other recent u

[COMMITTERS] pgsql: Add pgtcl back to the list of externally-maintained client inter

2017-08-02 Thread Tom Lane
Add pgtcl back to the list of externally-maintained client interfaces. FlightAware is still maintaining this, and indeed is seemingly being more active with it than the pgtclng fork is. List both, for the time being anyway. In the back branches, also back-port commit e20f679f6 and other recent u

[COMMITTERS] pgsql: Add pgtcl back to the list of externally-maintained client inter

2017-08-02 Thread Tom Lane
Add pgtcl back to the list of externally-maintained client interfaces. FlightAware is still maintaining this, and indeed is seemingly being more active with it than the pgtclng fork is. List both, for the time being anyway. In the back branches, also back-port commit e20f679f6 and other recent u

[COMMITTERS] pgsql: Add pgtcl back to the list of externally-maintained client inter

2017-08-02 Thread Tom Lane
Add pgtcl back to the list of externally-maintained client interfaces. FlightAware is still maintaining this, and indeed is seemingly being more active with it than the pgtclng fork is. List both, for the time being anyway. In the back branches, also back-port commit e20f679f6 and other recent u

[COMMITTERS] pgsql: Add pgtcl back to the list of externally-maintained client inter

2017-08-02 Thread Tom Lane
Add pgtcl back to the list of externally-maintained client interfaces. FlightAware is still maintaining this, and indeed is seemingly being more active with it than the pgtclng fork is. List both, for the time being anyway. In the back branches, also back-port commit e20f679f6 and other recent u

[COMMITTERS] pgsql: Add pgtcl back to the list of externally-maintained client inter

2017-08-02 Thread Tom Lane
Add pgtcl back to the list of externally-maintained client interfaces. FlightAware is still maintaining this, and indeed is seemingly being more active with it than the pgtclng fork is. List both, for the time being anyway. In the back branches, also back-port commit e20f679f6 and other recent u

[COMMITTERS] pgsql: Silence warning from modern perl about unescaped braces

2017-08-02 Thread Tom Lane
Silence warning from modern perl about unescaped braces Back-patch commit 76a1c97bf21c301f61bb41345e0cdd0d365b2086 into the older branches (9.5 and before). This is needed because perl 5.26 and later treats the case as an error not just a warning. Original patch by Andrew Dunstan, need for back-

[COMMITTERS] pgsql: Silence warning from modern perl about unescaped braces

2017-08-02 Thread Tom Lane
Silence warning from modern perl about unescaped braces Back-patch commit 76a1c97bf21c301f61bb41345e0cdd0d365b2086 into the older branches (9.5 and before). This is needed because perl 5.26 and later treats the case as an error not just a warning. Original patch by Andrew Dunstan, need for back-

[COMMITTERS] pgsql: Silence warning from modern perl about unescaped braces

2017-08-02 Thread Tom Lane
Silence warning from modern perl about unescaped braces Back-patch commit 76a1c97bf21c301f61bb41345e0cdd0d365b2086 into the older branches (9.5 and before). This is needed because perl 5.26 and later treats the case as an error not just a warning. Original patch by Andrew Dunstan, need for back-

[COMMITTERS] pgsql: Silence warning from modern perl about unescaped braces

2017-08-02 Thread Tom Lane
Silence warning from modern perl about unescaped braces Back-patch commit 76a1c97bf21c301f61bb41345e0cdd0d365b2086 into the older branches (9.5 and before). This is needed because perl 5.26 and later treats the case as an error not just a warning. Original patch by Andrew Dunstan, need for back-

[COMMITTERS] pgsql: Remove broken and useless entry-count printing in HASH_DEBUG cod

2017-08-02 Thread Tom Lane
Remove broken and useless entry-count printing in HASH_DEBUG code. init_htab(), with #define HASH_DEBUG, prints a bunch of hashtable parameters. It used to also print nentries, but commit 44ca4022f changed that to "hash_get_num_entries(hctl)", which is wrong (the parameter should be "hashp"). Ra

[COMMITTERS] pgsql: Remove broken and useless entry-count printing in HASH_DEBUG cod

2017-08-02 Thread Tom Lane
Remove broken and useless entry-count printing in HASH_DEBUG code. init_htab(), with #define HASH_DEBUG, prints a bunch of hashtable parameters. It used to also print nentries, but commit 44ca4022f changed that to "hash_get_num_entries(hctl)", which is wrong (the parameter should be "hashp"). Ra

[COMMITTERS] pgsql: Get a snapshot before COPY in table sync

2017-08-02 Thread Peter Eisentraut
Get a snapshot before COPY in table sync This fixes a crash if the local table has a function index and the function makes non-immutable calls. Reported-by: Scott Milliken Author: Masahiko Sawada Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/cf652018332819716b1

[COMMITTERS] pgsql: Remove duplicate setting of SSL_OP_SINGLE_DH_USE option.

2017-08-02 Thread Tom Lane
Remove duplicate setting of SSL_OP_SINGLE_DH_USE option. Commit c0a15e07c moved the setting of OpenSSL's SSL_OP_SINGLE_DH_USE option into a new subroutine initialize_dh(), but forgot to remove it from where it was. SSL_CTX_set_options() is a trivial function, amounting indeed to just "ctx->option

[COMMITTERS] pgsql: Fix OBJECT_TYPE/OBJECT_DOMAIN confusion

2017-08-02 Thread Peter Eisentraut
Fix OBJECT_TYPE/OBJECT_DOMAIN confusion This doesn't have a significant impact except that now SECURITY LABEL ON DOMAIN rejects types that are not domains. Reported-by: 高增琦 Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/41cefbb6db58c574e086efef2773a978f108d717 M