[COMMITTERS] pgsql: Fix some null pointer dereferences in LDAP auth code

2017-11-10 Thread Peter Eisentraut
Fix some null pointer dereferences in LDAP auth code

An LDAP URL without a host name such as "ldap://; or without a base DN
such as "ldap://localhost; would cause a crash when reading pg_hba.conf.

If no binddn is configured, an error message might end up trying to print a
null pointer, which could crash on some platforms.

Author: Thomas Munro 
Reviewed-by: Michael Paquier 

Branch
--
REL9_3_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/62906461c0d2765e0b7f8222b080670ddf1825b0

Modified Files
--
src/backend/libpq/auth.c | 3 ++-
src/backend/libpq/hba.c  | 6 --
2 files changed, 6 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix some null pointer dereferences in LDAP auth code

2017-11-10 Thread Peter Eisentraut
Fix some null pointer dereferences in LDAP auth code

An LDAP URL without a host name such as "ldap://; or without a base DN
such as "ldap://localhost; would cause a crash when reading pg_hba.conf.

If no binddn is configured, an error message might end up trying to print a
null pointer, which could crash on some platforms.

Author: Thomas Munro 
Reviewed-by: Michael Paquier 

Branch
--
REL9_6_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/d380d080fa0ad230d86bc5e4bc3512a199f68e43

Modified Files
--
src/backend/libpq/auth.c | 3 ++-
src/backend/libpq/hba.c  | 6 --
2 files changed, 6 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix some null pointer dereferences in LDAP auth code

2017-11-10 Thread Peter Eisentraut
Fix some null pointer dereferences in LDAP auth code

An LDAP URL without a host name such as "ldap://; or without a base DN
such as "ldap://localhost; would cause a crash when reading pg_hba.conf.

If no binddn is configured, an error message might end up trying to print a
null pointer, which could crash on some platforms.

Author: Thomas Munro 
Reviewed-by: Michael Paquier 

Branch
--
REL9_4_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/0bcdab58e83b2ac2caf4bd78e1583c11df97d4f1

Modified Files
--
src/backend/libpq/auth.c | 3 ++-
src/backend/libpq/hba.c  | 6 --
2 files changed, 6 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix some null pointer dereferences in LDAP auth code

2017-11-10 Thread Peter Eisentraut
Fix some null pointer dereferences in LDAP auth code

An LDAP URL without a host name such as "ldap://; or without a base DN
such as "ldap://localhost; would cause a crash when reading pg_hba.conf.

If no binddn is configured, an error message might end up trying to print a
null pointer, which could crash on some platforms.

Author: Thomas Munro 
Reviewed-by: Michael Paquier 

Branch
--
REL9_5_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/9efd83bfd32b38c675b263f532ebe9a6ec53149e

Modified Files
--
src/backend/libpq/auth.c | 3 ++-
src/backend/libpq/hba.c  | 6 --
2 files changed, 6 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix some null pointer dereferences in LDAP auth code

2017-11-10 Thread Peter Eisentraut
Fix some null pointer dereferences in LDAP auth code

An LDAP URL without a host name such as "ldap://; or without a base DN
such as "ldap://localhost; would cause a crash when reading pg_hba.conf.

If no binddn is configured, an error message might end up trying to print a
null pointer, which could crash on some platforms.

Author: Thomas Munro 
Reviewed-by: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/0c98d0dd5c85ce0c8485ae1a8351a26b83c4338b

Modified Files
--
src/backend/libpq/auth.c | 3 ++-
src/backend/libpq/hba.c  | 6 --
2 files changed, 6 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix some null pointer dereferences in LDAP auth code

2017-11-10 Thread Peter Eisentraut
Fix some null pointer dereferences in LDAP auth code

An LDAP URL without a host name such as "ldap://; or without a base DN
such as "ldap://localhost; would cause a crash when reading pg_hba.conf.

If no binddn is configured, an error message might end up trying to print a
null pointer, which could crash on some platforms.

Author: Thomas Munro 
Reviewed-by: Michael Paquier 

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/f9e2885d51bf585bec2d5ffeda4f9e5e1a723f4d

Modified Files
--
src/backend/libpq/auth.c | 3 ++-
src/backend/libpq/hba.c  | 6 --
2 files changed, 6 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Add some const decorations to prototypes

2017-11-10 Thread Peter Eisentraut
Add some const decorations to prototypes

Reviewed-by: Fabien COELHO 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/0e1539ba0d0a43de06c6e0572a565e73b9472538

Modified Files
--
contrib/dict_xsyn/dict_xsyn.c  |  2 +-
contrib/fuzzystrmatch/dmetaphone.c |  4 +--
contrib/pgcrypto/pgcrypto.c|  4 +--
contrib/seg/seg.c  |  4 +--
contrib/seg/segdata.h  |  2 +-
contrib/seg/segparse.y |  4 +--
contrib/unaccent/unaccent.c|  2 +-
contrib/uuid-ossp/uuid-ossp.c  |  2 +-
src/backend/access/common/reloptions.c | 12 
src/backend/access/gist/gistbuild.c|  2 +-
src/backend/access/transam/xact.c  |  6 ++--
src/backend/access/transam/xlogarchive.c   |  4 +--
src/backend/catalog/heap.c | 10 +++
src/backend/commands/comment.c |  4 +--
src/backend/commands/event_trigger.c   |  4 +--
src/backend/commands/extension.c   |  4 +--
src/backend/commands/indexcmds.c   |  8 +++---
src/backend/commands/opclasscmds.c |  2 +-
src/backend/commands/tablecmds.c   | 16 +--
src/backend/commands/typecmds.c|  6 ++--
src/backend/commands/view.c|  2 +-
src/backend/libpq/auth.c   | 24 
src/backend/libpq/hba.c|  6 ++--
src/backend/parser/parse_expr.c|  2 +-
src/backend/parser/parse_func.c|  4 +--
src/backend/parser/parse_relation.c|  8 +++---
src/backend/parser/parse_target.c  |  2 +-
src/backend/port/dynloader/darwin.c|  8 +++---
src/backend/port/dynloader/darwin.h|  4 +--
src/backend/port/dynloader/hpux.c  |  4 +--
src/backend/port/dynloader/hpux.h  |  4 +--
src/backend/port/dynloader/linux.c |  4 +--
src/backend/postmaster/postmaster.c|  2 +-
src/backend/replication/basebackup.c   |  8 +++---
src/backend/rewrite/rewriteDefine.c|  4 +--
src/backend/snowball/dict_snowball.c   |  2 +-
src/backend/storage/lmgr/lwlock.c  |  8 +++---
src/backend/tsearch/dict_thesaurus.c   |  2 +-
src/backend/tsearch/spell.c|  4 +--
src/backend/utils/adt/genfile.c|  2 +-
src/backend/utils/adt/ruleutils.c  |  4 +--
src/backend/utils/adt/varlena.c|  2 +-
src/backend/utils/adt/xml.c| 32 +++---
src/bin/initdb/initdb.c| 12 
src/bin/pg_dump/pg_backup_db.c |  2 +-
src/bin/pg_dump/pg_backup_db.h |  2 +-
src/bin/pg_rewind/fetch.c  |  2 +-
src/bin/pg_rewind/fetch.h  |  2 +-
src/bin/pg_upgrade/option.c|  6 ++--
src/bin/pg_upgrade/pg_upgrade.c|  4 +--
src/bin/pg_waldump/pg_waldump.c|  2 +-
src/bin/pgbench/pgbench.c  |  4 +--
src/include/access/gist_private.h  |  2 +-
src/include/access/reloptions.h| 14 +-
src/include/access/xact.h  |  6 ++--
src/include/access/xlog_internal.h |  4 +--
src/include/catalog/heap.h |  2 +-
src/include/commands/comment.h |  4 +--
src/include/commands/defrem.h  |  4 +--
src/include/commands/typecmds.h|  2 +-
src/include/commands/view.h|  2 +-
src/include/executor/tablefunc.h   |  8 +++---
src/include/parser/parse_relation.h|  6 ++--
src/include/parser/parse_target.h  |  2 +-
src/include/postmaster/bgworker.h  |  2 +-
src/include/rewrite/rewriteDefine.h|  2 +-
src/include/storage/lwlock.h   |  2 +-
src/include/utils/dynamic_loader.h |  4 +--
src/include/utils/varlena.h|  2 +-
src/include/utils/xml.h|  6 ++--
src/interfaces/ecpg/compatlib/informix.c   | 14 +-
src/interfaces/ecpg/ecpglib/misc.c | 20 +++---
src/interfaces/ecpg/include/ecpg_informix.h| 12 
src/interfaces/ecpg/include/ecpglib.h  |  2 +-
src/interfaces/ecpg/include/pgtypes_date.h |  2 +-
src/interfaces/ecpg/include/pgtypes_timestamp.h|  2 +-
src/interfaces/ecpg/pgtypeslib/datetime.c  |  2 +-
src/interfaces/ecpg/pgtypeslib/interval.c  |  4 

[COMMITTERS] pgsql: Add -wnet to SP invocations

2017-11-10 Thread Peter Eisentraut
Add -wnet to SP invocations

This causes a warning when accidentally backpatching an XML-style
empty-element tag like .

Branch
--
REL9_5_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/2d7e35b3a931fcef48a1faf0a0fb04f3db57cbde

Modified Files
--
doc/src/sgml/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Add -wnet to SP invocations

2017-11-10 Thread Peter Eisentraut
Add -wnet to SP invocations

This causes a warning when accidentally backpatching an XML-style
empty-element tag like .

Branch
--
REL9_4_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/18d431bda22f1b0f9ad758338a282705ab6b21b5

Modified Files
--
doc/src/sgml/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Add -wnet to SP invocations

2017-11-10 Thread Peter Eisentraut
Add -wnet to SP invocations

This causes a warning when accidentally backpatching an XML-style
empty-element tag like .

Branch
--
REL9_6_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/0abc7cdb875e63ff110f292eb666078d7abd1e90

Modified Files
--
doc/src/sgml/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Add -wnet to SP invocations

2017-11-10 Thread Peter Eisentraut
Add -wnet to SP invocations

This causes a warning when accidentally backpatching an XML-style
empty-element tag like .

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/9a8d3c4eeaf34966056a41a263c6e2ca4d5e4012

Modified Files
--
doc/src/sgml/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Add -wnet to SP invocations

2017-11-10 Thread Peter Eisentraut
Add -wnet to SP invocations

This causes a warning when accidentally backpatching an XML-style
empty-element tag like .

Branch
--
REL9_3_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/89afa724c6384b8f64f115f7b866c8625e158f22

Modified Files
--
doc/src/sgml/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Add -wnet to SP invocations

2017-11-10 Thread Peter Eisentraut
Add -wnet to SP invocations

This causes a warning when accidentally backpatching an XML-style
empty-element tag like .

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/a11e5a67d9a61bddb4ba7eec77e6671a0437f9fb

Modified Files
--
doc/src/sgml/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Remove junk left from DSSSL to XSL conversion

2017-11-09 Thread Peter Eisentraut
Remove junk left from DSSSL to XSL conversion

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/4ea3c243b98da6d526960586e9acc6d22283ffa2

Modified Files
--
doc/src/sgml/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Remove junk left from DSSSL to XSL conversion

2017-11-09 Thread Peter Eisentraut
Remove junk left from DSSSL to XSL conversion

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/e7397f015c9589f95f5f5b48d7a274b2f1628971

Modified Files
--
doc/src/sgml/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Change TRUE/FALSE to true/false

2017-11-08 Thread Peter Eisentraut
Change TRUE/FALSE to true/false

The lower case spellings are C and C++ standard and are used in most
parts of the PostgreSQL sources.  The upper case spellings are only used
in some files/modules.  So standardize on the standard spellings.

The APIs for ICU, Perl, and Windows define their own TRUE and FALSE, so
those are left as is when using those APIs.

In code comments, we use the lower-case spelling for the C concepts and
keep the upper-case spelling for the SQL concepts.

Reviewed-by: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/2eb4a831e5fb5d8fc17e13aea56e04af3efe27b4

Modified Files
--
contrib/btree_gist/btree_bit.c |   6 +-
contrib/btree_gist/btree_bytea.c   |   2 +-
contrib/btree_gist/btree_inet.c|   2 +-
contrib/btree_gist/btree_interval.c|   4 +-
contrib/btree_gist/btree_numeric.c |   2 +-
contrib/btree_gist/btree_text.c|   4 +-
contrib/btree_gist/btree_time.c|   2 +-
contrib/btree_gist/btree_ts.c  |   2 +-
contrib/btree_gist/btree_utils_num.c   |   4 +-
contrib/btree_gist/btree_utils_var.c   |  12 +-
contrib/btree_gist/btree_uuid.c|   2 +-
contrib/cube/cube.c|  36 ++--
contrib/dblink/dblink.c|   6 +-
contrib/file_fdw/file_fdw.c|   2 +-
contrib/fuzzystrmatch/fuzzystrmatch.c  |   2 +-
contrib/hstore/hstore_gist.c   |  10 +-
contrib/intarray/_int_bool.c   |   2 +-
contrib/intarray/_int_gin.c|  14 +-
contrib/intarray/_int_gist.c   |  18 +-
contrib/intarray/_int_op.c |   8 +-
contrib/intarray/_int_tool.c   |   6 +-
contrib/intarray/_intbig_gist.c|   6 +-
contrib/ltree/_ltree_gist.c|   4 +-
contrib/ltree/ltree_gist.c |   4 +-
contrib/pg_trgm/trgm_gist.c|   4 +-
contrib/pg_trgm/trgm_regexp.c  |   4 +-
contrib/seg/seg.c  |  10 +-
doc/src/sgml/gin.sgml  |  28 +--
doc/src/sgml/indexam.sgml  |  26 +--
doc/src/sgml/libpq.sgml|   4 +-
doc/src/sgml/spgist.sgml   |   2 +-
doc/src/sgml/sslinfo.sgml  |   6 +-
src/backend/access/brin/brin_revmap.c  |   2 +-
src/backend/access/common/heaptuple.c  |   2 +-
src/backend/access/gin/ginbtree.c  |   4 +-
src/backend/access/gin/ginbulk.c   |   6 +-
src/backend/access/gin/gindatapage.c   |  14 +-
src/backend/access/gin/ginentrypage.c  |  16 +-
src/backend/access/gin/ginget.c|  40 ++--
src/backend/access/gin/gininsert.c |   4 +-
src/backend/access/gin/ginvacuum.c |  32 ++--
src/backend/access/gist/gist.c |   4 +-
src/backend/access/gist/gistget.c  |   4 +-
src/backend/access/gist/gistproc.c |  16 +-
src/backend/access/gist/gistsplit.c|  38 ++--
src/backend/access/gist/gistutil.c |  24 +--
src/backend/access/hash/hashpage.c |   2 +-
src/backend/access/hash/hashsearch.c   |   8 +-
src/backend/access/heap/heapam.c   |  20 +-
src/backend/access/heap/pruneheap.c|   4 +-
src/backend/access/index/amvalidate.c  |   6 +-
src/backend/access/index/indexam.c |   2 +-
src/backend/access/nbtree/nbtinsert.c  |   4 +-
src/backend/access/nbtree/nbtsearch.c  |  10 +-
src/backend/access/nbtree/nbtutils.c   |  12 +-
src/backend/access/spgist/spgdoinsert.c|   2 +-
src/backend/access/transam/clog.c  |   2 +-
src/backend/access/transam/commit_ts.c |   2 +-
src/backend/access/transam/multixact.c |   2 +-
src/backend/access/transam/slru.c  |   4 +-
src/backend/access/transam/twophase.c  |   6 +-
src/backend/access/transam/xact.c  |   8 +-
src/backend/access/transam/xlog.c  |  44 ++---
src/backend/access/transam/xlogarchive.c   |   4 +-
src/backend/access/transam/xloginsert.c|   8 +-
src/backend/access/transam/xlogreader.c|   4 +-
src/backend/catalog/heap.c |  20 +-
src/backend/catalog/namespace.c|   4 +-
src/backend/catalog/pg_constraint.c|   2 +-
src/backend/catalog/pg_depend.c|   2 +-
src/backend/catalog/pg_operator.c  |   4 +-
src/backend/catalog/pg_type.c  |   4 +-
src/backend/commands/copy.c|   6 +-
src/backend/commands/dbcommands.c  |   6 +-
src/backend/commands/proclang.c|   2 +-
src/backend/commands/tablecmds.c   |  14 +-
src/backend/commands/tablespace.c  |   2 +-
src/backend/commands/trigger.c |  12 +-
src/backend/commands/typecmds.c|   8 +-
src/backend/executor/execCurrent.c |   2 +-
src/backend/executor/execMain.c|   4 +-
src/backend/executor/nodeAgg.c |  10 +-

[COMMITTERS] pgsql: Translation updates

2017-11-05 Thread Peter Eisentraut
Translation updates

Source-Git-URL: git://git.postgresql.org/git/pgtranslation/messages.git
Source-Git-Hash: d30de5903d6837e6e5bb01b9ec6db0da10276077

Branch
--
REL9_4_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/d4fcc0ceaa9029267c8605d79049e24e6fc0551b

Modified Files
--
src/backend/po/de.po  |  587 +-
src/backend/po/fr.po  | 2449 +
src/backend/po/it.po  | 2123 +--
src/backend/po/ru.po  |  250 +++--
src/bin/pg_dump/po/it.po  |  493 -
src/bin/pg_dump/po/ru.po  |   34 +-
src/bin/pg_resetxlog/po/it.po |  240 ++--
src/bin/pg_resetxlog/po/ru.po |4 +-
src/bin/psql/po/it.po |   64 +-
src/interfaces/libpq/po/de.po |  140 +--
src/interfaces/libpq/po/fr.po |  158 +--
src/interfaces/libpq/po/it.po |  282 +++--
src/interfaces/libpq/po/ru.po |   92 +-
13 files changed, 3499 insertions(+), 3417 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Translation updates

2017-11-05 Thread Peter Eisentraut
Translation updates

Source-Git-URL: git://git.postgresql.org/git/pgtranslation/messages.git
Source-Git-Hash: 078119e4b862f81bbb7207eff6788efc99ec4d97

Branch
--
REL9_6_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/4077723cbf0900776a8424d0a65474f0635afe45

Modified Files
--
src/backend/po/de.po  |  867 +-
src/backend/po/fr.po  | 3657 +
src/backend/po/it.po  | 2791 +++
src/backend/po/ru.po  |  260 +--
src/bin/pg_dump/po/it.po  |  540 +++---
src/bin/pg_dump/po/ru.po  |   34 +-
src/bin/pg_resetxlog/po/it.po |  238 +--
src/bin/pg_resetxlog/po/ru.po |4 +-
src/bin/pg_rewind/po/de.po|   48 +-
src/bin/pg_rewind/po/fr.po|   42 +-
src/bin/pg_rewind/po/it.po|   51 +-
src/bin/pg_rewind/po/ru.po|   42 +-
src/bin/psql/po/it.po |   81 +-
src/interfaces/libpq/po/de.po |   94 +-
src/interfaces/libpq/po/fr.po |  166 +-
src/interfaces/libpq/po/it.po |  286 ++--
src/interfaces/libpq/po/ru.po |   94 +-
17 files changed, 4610 insertions(+), 4685 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Translation updates

2017-11-05 Thread Peter Eisentraut
Translation updates

Source-Git-URL: git://git.postgresql.org/git/pgtranslation/messages.git
Source-Git-Hash: d2182acc2b014c9348a6ab60bfd1ce2576506338

Branch
--
REL9_2_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/f6a926757e3ebd5efb25e80d47834b57c0919c32

Modified Files
--
src/backend/po/de.po  |  304 +++---
src/backend/po/fr.po  | 2065 +
src/backend/po/it.po  | 1635 
src/backend/po/ru.po  |  144 +--
src/bin/pg_dump/po/it.po  |4 +-
src/bin/pg_resetxlog/po/it.po |  214 +++--
src/bin/pg_resetxlog/po/ru.po |4 +-
src/bin/psql/po/it.po |  102 +-
src/interfaces/libpq/po/de.po |  138 +--
src/interfaces/libpq/po/fr.po |  144 +--
src/interfaces/libpq/po/it.po |  250 +++--
src/interfaces/libpq/po/ru.po |   88 +-
12 files changed, 2583 insertions(+), 2509 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Translation updates

2017-11-05 Thread Peter Eisentraut
Translation updates

Source-Git-URL: git://git.postgresql.org/git/pgtranslation/messages.git
Source-Git-Hash: 64f85a7ee5a763d2eb6e938e1aeb90ed17dbb69f

Branch
--
REL9_5_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/4dc03c8609b5a0ca725a3ee4d6077f23f81461b8

Modified Files
--
src/backend/po/de.po  |  728 +--
src/backend/po/fr.po  | 2769 +
src/backend/po/it.po  | 2318 +-
src/backend/po/ru.po  |  260 ++--
src/bin/pg_dump/po/it.po  |  516 
src/bin/pg_dump/po/ru.po  |   34 +-
src/bin/pg_resetxlog/po/it.po |  238 ++--
src/bin/pg_resetxlog/po/ru.po |4 +-
src/bin/pg_rewind/po/de.po|   51 +-
src/bin/pg_rewind/po/fr.po|   42 +-
src/bin/pg_rewind/po/it.po|   51 +-
src/bin/pg_rewind/po/ru.po|   42 +-
src/bin/psql/po/it.po |   42 +-
src/interfaces/libpq/po/de.po |  142 ++-
src/interfaces/libpq/po/fr.po |  158 +--
src/interfaces/libpq/po/it.po |  284 ++---
src/interfaces/libpq/po/ru.po |   92 +-
17 files changed, 3928 insertions(+), 3843 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Translation updates

2017-11-05 Thread Peter Eisentraut
Translation updates

Source-Git-URL: git://git.postgresql.org/git/pgtranslation/messages.git
Source-Git-Hash: 8cd11c648f4c98378ff0a2b5e1e92ab54f69a4a5

Branch
--
REL9_3_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/1ea3f6ae0d1f2805100ce1b2e1d7e86f63b1f17b

Modified Files
--
src/backend/po/de.po  |  392 +++
src/backend/po/fr.po  | 2531 +
src/backend/po/it.po  | 1822 ++---
src/backend/po/ru.po  |  154 +--
src/bin/pg_dump/po/it.po  |  431 ---
src/bin/pg_dump/po/ru.po  |   34 +-
src/bin/pg_resetxlog/po/it.po |  218 ++--
src/bin/pg_resetxlog/po/ru.po |4 +-
src/bin/psql/po/it.po |  117 +-
src/interfaces/libpq/po/de.po |  140 +--
src/interfaces/libpq/po/fr.po |  146 +--
src/interfaces/libpq/po/it.po |  276 +++--
src/interfaces/libpq/po/ru.po |   90 +-
13 files changed, 3213 insertions(+), 3142 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Translation updates

2017-11-05 Thread Peter Eisentraut
Translation updates

Source-Git-URL: git://git.postgresql.org/git/pgtranslation/messages.git
Source-Git-Hash: 58ffddb2eb9d9b32697223abc420d3e53b884b60

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/8135c3cd057415bc80fbfcf0d8f1134d8f4efc12

Modified Files
--
src/backend/po/de.po | 698 ---
src/backend/po/it.po | 681 ++---
src/backend/po/ru.po | 269 +-
src/bin/pg_dump/po/it.po |   6 +-
src/bin/psql/po/it.po| 522 ++-
src/bin/psql/po/ru.po| 525 ++-
6 files changed, 1380 insertions(+), 1321 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: doc: Update text for new recovery_target_lsn setting

2017-11-04 Thread Peter Eisentraut
doc: Update text for new recovery_target_lsn setting

Reported-by: Tomonari Katsumata 
Author: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/bc105c4be057177c6fe7bd93b31eb1dc66ed4395

Modified Files
--
doc/src/sgml/recovery-config.sgml | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: doc: Update text for new recovery_target_lsn setting

2017-11-04 Thread Peter Eisentraut
doc: Update text for new recovery_target_lsn setting

Reported-by: Tomonari Katsumata 
Author: Michael Paquier 

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/c3f43a71663cdb9d589f536b544b03675f13e14f

Modified Files
--
doc/src/sgml/recovery-config.sgml | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: ecpg: Remove useless return values

2017-11-04 Thread Peter Eisentraut
ecpg: Remove useless return values

Remove useless or inconsistently used return values from functions,
matching backend changes 99bf328237d89e0fd22821a940d4af0506353218 and
791359fe0eae83641f0929159d5861359d395e97.

Reviewed-by: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/d6148e7d44e91cac8bd21d8c6d3aaaf1eed10486

Modified Files
--
src/interfaces/ecpg/pgtypeslib/dt.h|  6 +++---
src/interfaces/ecpg/pgtypeslib/dt_common.c | 15 +--
src/interfaces/ecpg/pgtypeslib/interval.c  | 16 
src/interfaces/ecpg/pgtypeslib/timestamp.c |  8 +++-
4 files changed, 15 insertions(+), 30 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix incorrect use of bool

2017-11-04 Thread Peter Eisentraut
Fix incorrect use of bool

NSUnLinkModule() doesn't take a bool as second argument but one of set
of specific constants.  The numeric values are the same in this case,
but clean it up while we're cleaning up bool use elsewhere.

Reviewed-by: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/cb29ff8315ef74043f279c21783cca8aaf79ebde

Modified Files
--
src/backend/port/dynloader/darwin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: ecpg: Use bool instead of int

2017-11-04 Thread Peter Eisentraut
ecpg: Use bool instead of int

Use "bool" for Boolean variables, rather than "int", matching backend
change f505edace12655f3491b9c91991731e2b6bf1f0b.

Reviewed-by: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/4703a480a9e15f8b8b481dac44f2e36a4a687fe4

Modified Files
--
src/interfaces/ecpg/pgtypeslib/dt_common.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: doc: Convert ids to upper case at build time

2017-11-03 Thread Peter Eisentraut
doc: Convert ids to upper case at build time

This makes the produced HTML anchors upper case, making it backward
compatible with the previous (9.6) build system.

Reported-by: Thomas Kellerer 

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/5159626afbe969bdcb6623e9f75f79ecb13ec79c

Modified Files
--
doc/src/sgml/stylesheet-html-common.xsl | 25 +
1 file changed, 25 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: doc: Convert ids to upper case at build time

2017-11-03 Thread Peter Eisentraut
doc: Convert ids to upper case at build time

This makes the produced HTML anchors upper case, making it backward
compatible with the previous (9.6) build system.

Reported-by: Thomas Kellerer 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/49df45acd8d40ee172c2f5491485de997c5f1020

Modified Files
--
doc/src/sgml/stylesheet-html-common.xsl | 25 +
1 file changed, 25 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Don't reset additional columns on subscriber to NULL on UPDATE

2017-11-03 Thread Peter Eisentraut
Don't reset additional columns on subscriber to NULL on UPDATE

When a publisher table has fewer columns than a subscriber, the update
of a row on the publisher should result in updating of only the columns
in common.  The previous coding mistakenly reset the values of
additional columns on the subscriber to NULL because it failed to skip
updates of columns not found in the attribute map.

Author: Petr Jelinek 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/a9fce66729ad5217e8219e22e595974059c21291

Modified Files
--
src/backend/replication/logical/worker.c   |  7 ++-
src/test/subscription/t/008_diff_schema.pl | 80 ++
2 files changed, 85 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Don't reset additional columns on subscriber to NULL on UPDATE

2017-11-03 Thread Peter Eisentraut
Don't reset additional columns on subscriber to NULL on UPDATE

When a publisher table has fewer columns than a subscriber, the update
of a row on the publisher should result in updating of only the columns
in common.  The previous coding mistakenly reset the values of
additional columns on the subscriber to NULL because it failed to skip
updates of columns not found in the attribute map.

Author: Petr Jelinek 

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/a14b52c61454e3d23f7d0ab0affa56f8abfdf505

Modified Files
--
src/backend/replication/logical/worker.c   |  7 ++-
src/test/subscription/t/008_diff_schema.pl | 80 ++
2 files changed, 85 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Grammar typo in security warning about md5

2017-11-03 Thread Peter Eisentraut
Grammar typo in security warning about md5

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/0f6bd533341341de7007b6d5ed24742211471c68
Author: Simon Riggs 

Modified Files
--
doc/src/sgml/client-auth.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: pg_ctl: Improve message

2017-11-02 Thread Peter Eisentraut
pg_ctl: Improve message

Change message for restarting a server from a directory without a PID
file.  This accounts for the case where a restart happens after an
initdb.  The new message indicates that the start has not completed yet
and might fail.

Author: Jesper Pedersen 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/4b0fbfdf81e0a847b31d0b430f25f8660d5652c0

Modified Files
--
src/bin/pg_ctl/pg_ctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Simplify new test suite handling of passwordcheck

2017-11-02 Thread Peter Eisentraut
Simplify new test suite handling of passwordcheck

This changes the use of a custom configuration file to enforce the value
of preload_shared_libraries to simply load the library during the tests.
This removes the restriction of running installcheck on the tests, and
simplifies its makefile contrary to what has been introduced in af7211e.

Author: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/637a934ab9bac615af6032bb8424056e91988fb8

Modified Files
--
contrib/passwordcheck/Makefile   | 3 ---
contrib/passwordcheck/expected/passwordcheck.out | 1 +
contrib/passwordcheck/passwordcheck.conf | 1 -
contrib/passwordcheck/sql/passwordcheck.sql  | 2 ++
4 files changed, 3 insertions(+), 4 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Remove wal_keep_segments from default configuration in PostgresN

2017-11-02 Thread Peter Eisentraut
Remove wal_keep_segments from default configuration in PostgresNode.pm

This is only used in the pg_rewind tests, so only set it there.  It's
better if other tests run closer to a default configuration.

Author: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/5eb8bf2d42676523143c1c76ba584bcdcc584f3e

Modified Files
--
src/bin/pg_rewind/RewindTest.pm | 5 +
src/test/perl/PostgresNode.pm   | 1 -
2 files changed, 5 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: doc: Clarify pgstattuple privileges information

2017-11-02 Thread Peter Eisentraut
doc: Clarify pgstattuple privileges information

The description has gotten a bit confusing over time, so rewrite the
paragraph a bit.

Reported-by: Feike Steenbergen 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/0f53934164d37682fd6a6d87d57008f9ca03e3d0

Modified Files
--
doc/src/sgml/pgstattuple.sgml | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: doc: Adjust name in acknowledgments

2017-11-02 Thread Peter Eisentraut
doc: Adjust name in acknowledgments

per request of the named person

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/d8c435e1743773eba4e36498479ca6aef28a2d70

Modified Files
--
doc/src/sgml/release-10.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: doc: Adjust name in acknowledgments

2017-11-02 Thread Peter Eisentraut
doc: Adjust name in acknowledgments

per request of the named person

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/769756fb74d6a183442ae3a3b5ce0816226ce64b

Modified Files
--
doc/src/sgml/release-10.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: pg_basebackup: Fix comparison handling of tablespace mappings on

2017-11-01 Thread Peter Eisentraut
pg_basebackup: Fix comparison handling of tablespace mappings on Windows

A candidate path needs to be canonicalized before being checked against
the mappings, because the mappings are also canonicalized.  This is
especially relevant on Windows

Reported-by: nb 
Author: Michael Paquier 
Reviewed-by: Ashutosh Sharma 

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/dd12b53078c37ea8731e9cb053bbeefe725ea47a

Modified Files
--
src/bin/pg_basebackup/pg_basebackup.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: pg_basebackup: Fix comparison handling of tablespace mappings on

2017-11-01 Thread Peter Eisentraut
pg_basebackup: Fix comparison handling of tablespace mappings on Windows

A candidate path needs to be canonicalized before being checked against
the mappings, because the mappings are also canonicalized.  This is
especially relevant on Windows

Reported-by: nb 
Author: Michael Paquier 
Reviewed-by: Ashutosh Sharma 

Branch
--
REL9_5_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/3064f0e25fc728385c873e776b0bf08a3f3ea09c

Modified Files
--
src/bin/pg_basebackup/pg_basebackup.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: pg_basebackup: Fix comparison handling of tablespace mappings on

2017-11-01 Thread Peter Eisentraut
pg_basebackup: Fix comparison handling of tablespace mappings on Windows

A candidate path needs to be canonicalized before being checked against
the mappings, because the mappings are also canonicalized.  This is
especially relevant on Windows

Reported-by: nb 
Author: Michael Paquier 
Reviewed-by: Ashutosh Sharma 

Branch
--
REL9_6_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/4ba0ffaaee3f1e1c1103802c786c221a56a70497

Modified Files
--
src/bin/pg_basebackup/pg_basebackup.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: doc: Mention pg_stat_wal_receiver in streaming replication docs

2017-11-01 Thread Peter Eisentraut
doc: Mention pg_stat_wal_receiver in streaming replication docs

Also make the link to pg_stat_replication more precise.

Author: Michael Paquier 
Reviewed-by: Jeff Janes 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/ec7ce54204147ccf1a55aaba526ac4b39071f712

Modified Files
--
doc/src/sgml/high-availability.sgml | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: doc: Add to hot standby documentation

2017-11-01 Thread Peter Eisentraut
doc: Add to hot standby documentation

Document the order of changing certain settings when using hot-standby
servers.  This is just a logical consequence of what was already
documented, but it gives the users some more practical advice.

Author: Yorick Peterse 
Reviewed-by: Aleksander Alekseev 
Reviewed-by: Robert Haas 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/387ec70322aaf60127537bc200e20791f0b415ae

Modified Files
--
doc/src/sgml/high-availability.sgml | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: pg_basebackup: Fix comparison handling of tablespace mappings on

2017-11-01 Thread Peter Eisentraut
pg_basebackup: Fix comparison handling of tablespace mappings on Windows

A candidate path needs to be canonicalized before being checked against
the mappings, because the mappings are also canonicalized.  This is
especially relevant on Windows

Reported-by: nb 
Author: Michael Paquier 
Reviewed-by: Ashutosh Sharma 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/067a2259fd2d7050ecf13a82a96e9a95bf8b3785

Modified Files
--
src/bin/pg_basebackup/pg_basebackup.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Convert another SGML ID to lower case

2017-10-21 Thread Peter Eisentraut
Convert another SGML ID to lower case

The mostly automated conversion in
1ff01b3902cbf5b22d1a439014202499c21b2994 missed this one because of the
unusual whitespace.

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/7c981590c2e8149a88f6b53829770e2277336879

Modified Files
--
doc/src/sgml/release-9.0.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Convert SGML IDs to lower case

2017-10-20 Thread Peter Eisentraut
Convert SGML IDs to lower case

IDs in SGML are case insensitive, and we have accumulated a mix of upper
and lower case IDs, including different variants of the same ID.  In
XML, these will be case sensitive, so we need to fix up those
differences.  Going to all lower case seems most straightforward, and
the current build process already makes all anchors and lower case
anyway during the SGML->XML conversion, so this doesn't create any
difference in the output right now.  A future XML-only build process
would, however, maintain any mixed case ID spellings in the output, so
that is another reason to clean this up beforehand.

Author: Alexander Lakhin 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/1ff01b3902cbf5b22d1a439014202499c21b2994

Modified Files
--
doc/src/sgml/acronyms.sgml|   6 +-
doc/src/sgml/arch-dev.sgml|   2 +-
doc/src/sgml/biblio.sgml  |  40 +++---
doc/src/sgml/brin.sgml|   2 +-
doc/src/sgml/btree-gist.sgml  |   4 +-
doc/src/sgml/config.sgml  |  18 +--
doc/src/sgml/dblink.sgml  |  38 +++---
doc/src/sgml/ddl.sgml |   2 +-
doc/src/sgml/ecpg.sgml|  70 +-
doc/src/sgml/func.sgml|   4 +-
doc/src/sgml/geqo.sgml|   4 +-
doc/src/sgml/gin.sgml |   2 +-
doc/src/sgml/gist.sgml|   2 +-
doc/src/sgml/history.sgml |  14 +-
doc/src/sgml/indices.sgml |  16 +--
doc/src/sgml/libpq.sgml   |   2 +-
doc/src/sgml/lobj.sgml|   2 +-
doc/src/sgml/logical-replication.sgml |   2 +-
doc/src/sgml/logicaldecoding.sgml |   6 +-
doc/src/sgml/mvcc.sgml|   4 +-
doc/src/sgml/passwordcheck.sgml   |   4 +-
doc/src/sgml/perform.sgml |   2 +-
doc/src/sgml/queries.sgml |   2 +-
doc/src/sgml/query.sgml   |   2 +-
doc/src/sgml/rangetypes.sgml  |   6 +-
doc/src/sgml/ref/abort.sgml   |   6 +-
doc/src/sgml/ref/alter_aggregate.sgml |   2 +-
doc/src/sgml/ref/alter_collation.sgml |   2 +-
doc/src/sgml/ref/alter_conversion.sgml|   2 +-
doc/src/sgml/ref/alter_database.sgml  |   2 +-
doc/src/sgml/ref/alter_default_privileges.sgml|   2 +-
doc/src/sgml/ref/alter_domain.sgml|   8 +-
doc/src/sgml/ref/alter_event_trigger.sgml |   2 +-
doc/src/sgml/ref/alter_extension.sgml |   4 +-
doc/src/sgml/ref/alter_foreign_data_wrapper.sgml  |   2 +-
doc/src/sgml/ref/alter_foreign_table.sgml |   8 +-
doc/src/sgml/ref/alter_function.sgml  |   2 +-
doc/src/sgml/ref/alter_group.sgml |   6 +-
doc/src/sgml/ref/alter_index.sgml |  10 +-
doc/src/sgml/ref/alter_language.sgml  |   2 +-
doc/src/sgml/ref/alter_large_object.sgml  |   2 +-
doc/src/sgml/ref/alter_materialized_view.sgml |   2 +-
doc/src/sgml/ref/alter_opclass.sgml   |   2 +-
doc/src/sgml/ref/alter_operator.sgml  |   2 +-
doc/src/sgml/ref/alter_opfamily.sgml  |   2 +-
doc/src/sgml/ref/alter_policy.sgml|   2 +-
doc/src/sgml/ref/alter_publication.sgml   |   4 +-
doc/src/sgml/ref/alter_role.sgml  |  16 +--
doc/src/sgml/ref/alter_rule.sgml  |   2 +-
doc/src/sgml/ref/alter_schema.sgml|   2 +-
doc/src/sgml/ref/alter_sequence.sgml  |   2 +-
doc/src/sgml/ref/alter_server.sgml|   2 +-
doc/src/sgml/ref/alter_statistics.sgml|   2 +-
doc/src/sgml/ref/alter_subscription.sgml  |   8 +-
doc/src/sgml/ref/alter_system.sgml|   6 +-
doc/src/sgml/ref/alter_table.sgml |  30 ++---
doc/src/sgml/ref/alter_tablespace.sgml|   2 +-
doc/src/sgml/ref/alter_trigger.sgml   |   4 +-
doc/src/sgml/ref/alter_tsconfig.sgml  |   2 +-
doc/src/sgml/ref/alter_tsdictionary.sgml  |   2 +-
doc/src/sgml/ref/alter_tsparser.sgml  |   2 +-
doc/src/sgml/ref/alter_tstemplate.sgml|   2 +-
doc/src/sgml/ref/alter_type.sgml  |   6 +-
doc/src/sgml/ref/alter_user.sgml  |   2 +-
doc/src/sgml/ref/alter_user_mapping.sgml  |   2 +-
doc/src/sgml/ref/alter_view.sgml  |   2 +-
doc/src/sgml/ref/analyze.sgml |   2 +-
doc/src/sgml/ref/begin.sgml   |   6 +-
doc/src/sgml/ref/close.sgml   |   2 +-
doc/src/sgml/ref/cluster.sgml |   4 +-

[COMMITTERS] pgsql: UCS_to_most.pl: Process encodings in sorted order

2017-10-19 Thread Peter Eisentraut
UCS_to_most.pl: Process encodings in sorted order

Otherwise the order depends on the Perl hash implementation, making it
cumbersome to scan the output when debugging.

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/927e1ee2cb74e3bc49454dfa181dcce83b70d371

Modified Files
--
src/backend/utils/mb/Unicode/UCS_to_most.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Don't use SGML empty tags

2017-10-17 Thread Peter Eisentraut
Don't use SGML empty tags

For DocBook XML compatibility, don't use SGML empty tags () anymore,
replace by the full tag name.  Add a warning option to catch future
occurrences.

Alexander Lakhin, Jürgen Purtz

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/c29c578908dc0271eeb13a4014e54bff07a29c05

Modified Files
--
doc/src/sgml/Makefile |3 +-
doc/src/sgml/acronyms.sgml|   18 +-
doc/src/sgml/adminpack.sgml   |   54 +-
doc/src/sgml/advanced.sgml|  110 +-
doc/src/sgml/amcheck.sgml |   66 +-
doc/src/sgml/arch-dev.sgml|   64 +-
doc/src/sgml/array.sgml   |  110 +-
doc/src/sgml/auth-delay.sgml  |6 +-
doc/src/sgml/auto-explain.sgml|   36 +-
doc/src/sgml/backup.sgml  |  496 ++--
doc/src/sgml/bgworker.sgml|   80 +-
doc/src/sgml/biblio.sgml  |2 +-
doc/src/sgml/bki.sgml |   86 +-
doc/src/sgml/bloom.sgml   |   24 +-
doc/src/sgml/brin.sgml|   78 +-
doc/src/sgml/btree-gin.sgml   |   18 +-
doc/src/sgml/btree-gist.sgml  |   32 +-
doc/src/sgml/catalogs.sgml| 1012 
doc/src/sgml/charset.sgml |  270 +--
doc/src/sgml/citext.sgml  |  120 +-
doc/src/sgml/client-auth.sgml |  328 +--
doc/src/sgml/config.sgml  | 2156 -
doc/src/sgml/contrib-spi.sgml |   80 +-
doc/src/sgml/contrib.sgml |   26 +-
doc/src/sgml/cube.sgml|  158 +-
doc/src/sgml/custom-scan.sgml |  136 +-
doc/src/sgml/datatype.sgml|  692 +++---
doc/src/sgml/datetime.sgml|   72 +-
doc/src/sgml/dblink.sgml  |  270 +--
doc/src/sgml/ddl.sgml |  390 +--
doc/src/sgml/dfunc.sgml   |   40 +-
doc/src/sgml/dict-int.sgml|   18 +-
doc/src/sgml/dict-xsyn.sgml   |   40 +-
doc/src/sgml/diskusage.sgml   |   16 +-
doc/src/sgml/dml.sgml |   32 +-
doc/src/sgml/docguide.sgml|2 +-
doc/src/sgml/earthdistance.sgml   |   32 +-
doc/src/sgml/ecpg.sgml|  734 +++---
doc/src/sgml/errcodes.sgml|   18 +-
doc/src/sgml/event-trigger.sgml   |   78 +-
doc/src/sgml/extend.sgml  |  362 +--
doc/src/sgml/external-projects.sgml   |   18 +-
doc/src/sgml/fdwhandler.sgml  |  880 +++
doc/src/sgml/file-fdw.sgml|   48 +-
doc/src/sgml/func.sgml| 2528 +--
doc/src/sgml/fuzzystrmatch.sgml   |   26 +-
doc/src/sgml/generate-errcodes-table.pl   |4 +-
doc/src/sgml/generic-wal.sgml |   42 +-
doc/src/sgml/geqo.sgml|   12 +-
doc/src/sgml/gin.sgml |  286 +--
doc/src/sgml/gist.sgml|  402 +--
doc/src/sgml/high-availability.sgml   |  516 ++--
doc/src/sgml/history.sgml |4 +-
doc/src/sgml/hstore.sgml  |  152 +-
doc/src/sgml/indexam.sgml |  446 ++--
doc/src/sgml/indices.sgml |  224 +-
doc/src/sgml/info.sgml|6 +-
doc/src/sgml/information_schema.sgml  |  364 +--
doc/src/sgml/install-windows.sgml |   58 +-
doc/src/sgml/installation.sgml|  460 ++--
doc/src/sgml/intagg.sgml  |   28 +-
doc/src/sgml/intarray.sgml|   68 +-
doc/src/sgml/intro.sgml   |4 +-
doc/src/sgml/isn.sgml |   28 +-
doc/src/sgml/json.sgml|  174 +-
doc/src/sgml/libpq.sgml   | 1414 +--
doc/src/sgml/lo.sgml  |   34 +-
doc/src/sgml/lobj.sgml|  128 +-
doc/src/sgml/logicaldecoding.sgml |   18 +-
doc/src/sgml/ltree.sgml   |  234 +-
doc/src/sgml/maintenance.sgml |  338 +--
doc/src/sgml/manage-ag.sgml   |  196 +-
doc/src/sgml/monitoring.sgml  | 1440 +--
doc/src/sgml/mvcc.sgml|  130 +-
doc/src/sgml/nls.sgml |   24 +-
doc/src/sgml/notation.sgml| 

[COMMITTERS] pgsql: Exclude flex-generated code from coverage testing

2017-10-16 Thread Peter Eisentraut
Exclude flex-generated code from coverage testing

Flex generates a lot of functions that are not actually used.  In order
to avoid coverage figures being ruined by that, mark up the part of the
.l files where the generated code appears by lcov exclusion markers.
That way, lcov will typically only reported on coverage for the .l file,
which is under our control, but not for the .c file.

Reviewed-by: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/421167362242ce1fb46d6d720798787e7cd65aad

Modified Files
--
contrib/cube/cubescan.l   | 4 
contrib/seg/segscan.l | 4 
src/backend/bootstrap/bootscanner.l   | 3 +++
src/backend/parser/scan.l | 5 +
src/backend/replication/repl_scanner.l| 3 +++
src/backend/replication/syncrep_scanner.l | 3 +++
src/backend/utils/misc/guc-file.l | 4 +++-
src/bin/pgbench/exprscan.l| 4 
src/bin/psql/psqlscanslash.l  | 4 
src/fe_utils/psqlscan.l   | 4 
src/interfaces/ecpg/preproc/pgc.l | 6 ++
src/test/isolation/specscanner.l  | 4 
12 files changed, 47 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: doc: Postgres -> PostgreSQL

2017-10-15 Thread Peter Eisentraut
doc: Postgres -> PostgreSQL

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/d8794fd7c337a2285f46b23d348c9826afff69eb

Modified Files
--
doc/src/sgml/ref/create_aggregate.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Reinstate genhtml --prefix option for non-vpath builds

2017-10-14 Thread Peter Eisentraut
Reinstate genhtml --prefix option for non-vpath builds

In c3d9a66024a93e6d0380bdd1b18cb03a67216b72, the genhtml --prefix option
was removed to get slightly better behavior for vpath builds.  genhtml
would then automatically pick a suitable prefix.  However, for non-vpath
builds, this makes the coverage output dependent on the length of the
path where the source code happens to be, leading to confusingly
arbitrary results.  So put the --prefix option back for non-vpath
builds.

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/5f340cb30ce2f0d9f272840b0d977b0a4b854f0b

Modified Files
--
src/Makefile.global.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Attempt to fix LDAP build

2017-10-12 Thread Peter Eisentraut
Attempt to fix LDAP build

Apparently, an older spelling of LDAP_OPT_DIAGNOSTIC_MESSAGE is
LDAP_OPT_ERROR_STRING, so fall back to that one.

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/7d1b8e7591690fb68cc53553e0f13b537b5455dc

Modified Files
--
src/backend/libpq/auth.c | 6 ++
1 file changed, 6 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Log diagnostic messages if errors occur during LDAP auth.

2017-10-12 Thread Peter Eisentraut
Log diagnostic messages if errors occur during LDAP auth.

Diagnostic messages seem likely to help users diagnose root
causes more easily, so let's report them as errdetail.

Author: Thomas Munro
Reviewed-By: Ashutosh Bapat, Christoph Berg, Alvaro Herrera, Peter Eisentraut
Discussion: 
https://postgr.es/m/CAEepm=2_dA-SYpFdmNVwvKsEBXOUj=k4ookovhmvj6jnmdt...@mail.gmail.com

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/cf1238cd9763f0a6e3454ddf75ac56ff722f18ee

Modified Files
--
src/backend/libpq/auth.c| 48 ++---
src/test/ldap/t/001_auth.pl | 11 ++-
2 files changed, 51 insertions(+), 8 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Improve LDAP cleanup code in error paths.

2017-10-12 Thread Peter Eisentraut
Improve LDAP cleanup code in error paths.

After calling ldap_unbind_s() we probably shouldn't try to use the LDAP
connection again to call ldap_get_option(), even if it failed.  The OpenLDAP
man page for ldap_unbind[_s] says "Once it is called, the connection to the
LDAP server is closed, and the ld structure is invalid."  Otherwise, as a
general rule we should probably call ldap_unbind() before returning in all
paths to avoid leaking resources.  It is unlikely there is any practical
leak problem since failure to authenticate currently results in the backend
exiting soon afterwards.

Author: Thomas Munro
Reviewed-By: Alvaro Herrera, Peter Eisentraut
Discussion: https://postgr.es/m/20170914141205.eup4kxzlkagtmfac%40alvherre.pgsql

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/1feff99fe4576d4685c14dff18d1f845a1456f10

Modified Files
--
src/backend/libpq/auth.c | 20 +++-
1 file changed, 11 insertions(+), 9 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix whitespace

2017-10-11 Thread Peter Eisentraut
Fix whitespace

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/e9e0f78bdeaee6e1e24544fd564cf0907f6a2134

Modified Files
--
src/test/regress/expected/partition_join.out | 2 +-
src/test/regress/sql/partition_join.sql  | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Use lower-case SGML attribute values

2017-10-10 Thread Peter Eisentraut
Use lower-case SGML attribute values

for DocBook XML compatibility

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/44b3230e821e7a0cc4e9438d1c27305d533edacc

Modified Files
--
doc/src/sgml/ecpg.sgml| 112 +++---
doc/src/sgml/func.sgml|  64 
doc/src/sgml/queries.sgml |   2 +-
doc/src/sgml/ref/alter_database.sgml  |  26 ++--
doc/src/sgml/ref/alter_default_privileges.sgml|  20 +--
doc/src/sgml/ref/alter_domain.sgml|  52 +++
doc/src/sgml/ref/alter_event_trigger.sgml |  14 +-
doc/src/sgml/ref/alter_extension.sgml |  68 -
doc/src/sgml/ref/alter_foreign_data_wrapper.sgml  |   6 +-
doc/src/sgml/ref/alter_foreign_table.sgml | 100 ++---
doc/src/sgml/ref/alter_function.sgml  |   4 +-
doc/src/sgml/ref/alter_group.sgml |  14 +-
doc/src/sgml/ref/alter_index.sgml |  38 ++---
doc/src/sgml/ref/alter_large_object.sgml  |   2 +-
doc/src/sgml/ref/alter_materialized_view.sgml |  42 +++---
doc/src/sgml/ref/alter_policy.sgml|   2 +-
doc/src/sgml/ref/alter_publication.sgml   |  12 +-
doc/src/sgml/ref/alter_role.sgml  |  26 ++--
doc/src/sgml/ref/alter_rule.sgml  |   8 +-
doc/src/sgml/ref/alter_sequence.sgml  |   4 +-
doc/src/sgml/ref/alter_server.sgml|  10 +-
doc/src/sgml/ref/alter_statistics.sgml|   4 +-
doc/src/sgml/ref/alter_subscription.sgml  |  16 +-
doc/src/sgml/ref/alter_system.sgml|   4 +-
doc/src/sgml/ref/alter_table.sgml | 174 +++---
doc/src/sgml/ref/alter_tablespace.sgml|   4 +-
doc/src/sgml/ref/alter_trigger.sgml   |  12 +-
doc/src/sgml/ref/alter_type.sgml  |  46 +++---
doc/src/sgml/ref/alter_user.sgml  |  24 +--
doc/src/sgml/ref/alter_user_mapping.sgml  |   4 +-
doc/src/sgml/ref/alter_view.sgml  |   8 +-
doc/src/sgml/ref/analyze.sgml |  12 +-
doc/src/sgml/ref/close.sgml   |   4 +-
doc/src/sgml/ref/cluster.sgml |   8 +-
doc/src/sgml/ref/comment.sgml |  80 +-
doc/src/sgml/ref/commit_prepared.sgml |   4 +-
doc/src/sgml/ref/create_aggregate.sgml| 174 +++---
doc/src/sgml/ref/create_database.sgml |   2 +-
doc/src/sgml/ref/create_domain.sgml   |  14 +-
doc/src/sgml/ref/create_event_trigger.sgml|   8 +-
doc/src/sgml/ref/create_foreign_data_wrapper.sgml |   4 +-
doc/src/sgml/ref/create_foreign_table.sgml|  42 +++---
doc/src/sgml/ref/create_group.sgml|  20 +--
doc/src/sgml/ref/create_index.sgml|   2 +-
doc/src/sgml/ref/create_materialized_view.sgml|  10 +-
doc/src/sgml/ref/create_role.sgml |  24 +--
doc/src/sgml/ref/create_schema.sgml   |  12 +-
doc/src/sgml/ref/create_server.sgml   |   4 +-
doc/src/sgml/ref/create_statistics.sgml   |  16 +-
doc/src/sgml/ref/create_subscription.sgml |   6 +-
doc/src/sgml/ref/create_table.sgml| 102 ++---
doc/src/sgml/ref/create_table_as.sgml |  10 +-
doc/src/sgml/ref/create_tablespace.sgml   |   2 +-
doc/src/sgml/ref/create_trigger.sgml  |  12 +-
doc/src/sgml/ref/create_type.sgml |   2 +-
doc/src/sgml/ref/create_user.sgml |  22 +--
doc/src/sgml/ref/create_user_mapping.sgml |   4 +-
doc/src/sgml/ref/create_view.sgml |   8 +-
doc/src/sgml/ref/delete.sgml  |  18 +--
doc/src/sgml/ref/do.sgml  |   6 +-
doc/src/sgml/ref/drop_database.sgml   |   4 +-
doc/src/sgml/ref/drop_domain.sgml |   4 +-
doc/src/sgml/ref/drop_event_trigger.sgml  |   4 +-
doc/src/sgml/ref/drop_extension.sgml  |   4 +-
doc/src/sgml/ref/drop_foreign_table.sgml  |   4 +-
doc/src/sgml/ref/drop_group.sgml  |   2 +-
doc/src/sgml/ref/drop_index.sgml  |   4 +-
doc/src/sgml/ref/drop_language.sgml   |   4 +-
doc/src/sgml/ref/drop_materialized_view.sgml  |   4 +-
doc/src/sgml/ref/drop_opclass.sgml|   2 +-
doc/src/sgml/ref/drop_operator.sgml   |   2 +-
doc/src/sgml/ref/drop_opfamily.sgml   |   2 +-
doc/src/sgml/ref/drop_owned.sgml  |   4 +-
doc/src/sgml/ref/drop_publication.sgml|   2 +-
doc/src/sgml/ref/drop_role.sgml   |   4 +-
doc/src/sgml/ref/drop_rule.sgml   |   2 +-
doc/src/sgml/ref/drop_schema.sgml |   4 +-
doc/src/sgml/ref/drop_sequence.sgml   |   4 +-
doc/src/sgml/ref/drop_statistics.sgml | 

[COMMITTERS] pgsql: Remove unused documentation file

2017-10-09 Thread Peter Eisentraut
Remove unused documentation file

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/71c75ddfbb277362bf62dc5b1645c3903e16bc34

Modified Files
--
doc/src/sgml/contacts.sgml | 26 --
doc/src/sgml/filelist.sgml |  1 -
2 files changed, 27 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Support coverage on vpath builds

2017-10-06 Thread Peter Eisentraut
Support coverage on vpath builds

A few paths needed to be tweaked so everything looks into the
appropriate directories.

Reviewed-by: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/c3d9a66024a93e6d0380bdd1b18cb03a67216b72

Modified Files
--
src/Makefile.global.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Remove coverage details view

2017-10-06 Thread Peter Eisentraut
Remove coverage details view

This is only useful if we name the different tests, which we don't do at
the moment.

Reviewed-by: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/c01123630db18561039d4eb17f9502bed0e9d109

Modified Files
--
src/Makefile.global.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Run coverage commands quietly

2017-10-06 Thread Peter Eisentraut
Run coverage commands quietly

They are very chatty by default, but the output doesn't seem all that
useful for normal operation.

Reviewed-by: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/52e1b1b0425553250db35101f44090898322fb6f

Modified Files
--
src/Makefile.global.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Move SPI error reporting out of ri_ReportViolation()

2017-10-04 Thread Peter Eisentraut
Move SPI error reporting out of ri_ReportViolation()

These are two completely unrelated code paths, so it doesn't make sense
to pack them into one function.

Add attribute noreturn to ri_ReportViolation().

Reviewed-by: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/582bbcf37fb45ea2e6a851bf9a3c7d7364c7ad32

Modified Files
--
src/backend/utils/adt/ri_triggers.c | 29 +++--
1 file changed, 11 insertions(+), 18 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Document and use SPI_result_code_string()

2017-10-04 Thread Peter Eisentraut
Document and use SPI_result_code_string()

A lot of semi-internal code just prints out numeric SPI error codes,
which is not very helpful.  We already have an API function to convert
the codes to a string, so let's make more use of that.

Reviewed-by: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/036166f26e00ab3286ef29a6519525d6291fdfd7

Modified Files
--
contrib/spi/refint.c|  6 ++---
contrib/spi/timetravel.c|  2 +-
doc/src/sgml/spi.sgml   | 53 +
src/backend/utils/adt/ri_triggers.c | 10 +++
src/test/regress/regress.c  |  2 +-
5 files changed, 63 insertions(+), 10 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Expand collation documentation

2017-10-02 Thread Peter Eisentraut
Expand collation documentation

Document better how to create custom collations and what locale strings
ICU accepts.  Explain the ICU examples in more detail.  Also update the
text on the CREATE COLLATION reference page a bit to take ICU more into
account.

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/f41bd4cb90eb1d93631a346bf71d17dfc4beee50

Modified Files
--
doc/src/sgml/charset.sgml  | 135 ++---
doc/src/sgml/ref/create_collation.sgml |  28 ---
2 files changed, 124 insertions(+), 39 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Translation updates

2017-10-02 Thread Peter Eisentraut
Translation updates

Source-Git-URL: git://git.postgresql.org/git/pgtranslation/messages.git
Source-Git-Hash: 4eb5acee0bc0ba7b40220367dfc44bb4af188c88

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/1f19550a874d02c6e9f6192ed1a97995f9598f53

Modified Files
--
src/backend/po/de.po   | 2358 -
src/backend/po/fr.po   | 4934 ++--
src/backend/po/it.po   |  812 +++---
src/backend/po/ko.po   | 1016 
src/backend/po/ru.po   | 1134 +
src/bin/pg_archivecleanup/po/ko.po |   31 +-
src/bin/pg_archivecleanup/po/ru.po |4 +-
src/bin/pg_basebackup/po/ko.po |  141 +-
src/bin/pg_basebackup/po/ru.po |4 +-
src/bin/pg_ctl/po/ru.po|4 +-
src/bin/pg_dump/po/ko.po   |  293 +--
src/bin/pg_dump/po/ru.po   |   32 +-
src/bin/pg_dump/po/sv.po   |6 +-
src/bin/pg_resetwal/po/ru.po   |4 +-
src/bin/pg_rewind/po/ko.po |   44 +-
src/bin/pg_rewind/po/ru.po |   42 +-
src/bin/pg_test_fsync/po/ko.po |  108 +-
src/bin/pg_test_fsync/po/ru.po |  100 +-
src/bin/pg_test_timing/po/es.po|   39 +-
src/bin/pg_test_timing/po/ko.po|   26 +-
src/bin/pg_test_timing/po/ru.po|   27 +-
src/bin/pg_upgrade/po/ko.po|  387 ++-
src/bin/pg_upgrade/po/ru.po|  338 +--
src/bin/pg_waldump/nls.mk  |2 +-
src/bin/pg_waldump/po/ko.po|  252 ++
src/bin/pg_waldump/po/ru.po|  278 ++
src/bin/psql/po/de.po  |  522 ++--
src/bin/psql/po/fr.po  | 3466 -
src/bin/psql/po/it.po  |8 +-
src/bin/psql/po/ko.po  |  345 +--
src/bin/psql/po/ru.po  |  256 +-
src/bin/psql/po/sv.po  | 3469 -
src/interfaces/libpq/po/ko.po  |  177 +-
src/interfaces/libpq/po/ru.po  |  110 +-
src/pl/plpgsql/src/po/sv.po|4 +-
src/pl/plpython/po/ru.po   |4 +-
src/pl/tcl/nls.mk  |2 +-
src/pl/tcl/po/ko.po|  108 +
38 files changed, 10773 insertions(+), 10114 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Expand collation documentation

2017-10-02 Thread Peter Eisentraut
Expand collation documentation

Document better how to create custom collations and what locale strings
ICU accepts.  Explain the ICU examples in more detail.  Also update the
text on the CREATE COLLATION reference page a bit to take ICU more into
account.

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/b6cbd30582a5a58ef0ce7a16c2b003b318d63619

Modified Files
--
doc/src/sgml/charset.sgml  | 135 ++---
doc/src/sgml/ref/create_collation.sgml |  28 ---
2 files changed, 124 insertions(+), 39 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Add list of acknowledgments to release notes

2017-10-01 Thread Peter Eisentraut
Add list of acknowledgments to release notes

This contains all individuals mentioned in the commit messages during
PostgreSQL 10 development.

current through babf18579455e85269ad75e1ddb03f34138f77b6

Discussion: 
https://www.postgresql.org/message-id/flat/54ad0e42-770e-dfe1-123e-bce9361ad452%402ndquadrant.com

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/e775dd6a4b1b87cd367a725f8840f068f2daae27

Modified Files
--
doc/src/sgml/release-10.sgml | 337 +++
1 file changed, 337 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Add list of acknowledgments to release notes

2017-10-01 Thread Peter Eisentraut
Add list of acknowledgments to release notes

This contains all individuals mentioned in the commit messages during
PostgreSQL 10 development.

current through babf18579455e85269ad75e1ddb03f34138f77b6

Discussion: 
https://www.postgresql.org/message-id/flat/54ad0e42-770e-dfe1-123e-bce9361ad452%402ndquadrant.com

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/655c938fb0aacde297d4c53daf97ff82a3b90fad

Modified Files
--
doc/src/sgml/release-10.sgml | 337 +++
1 file changed, 337 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Use Py_RETURN_NONE where suitable

2017-09-29 Thread Peter Eisentraut
Use Py_RETURN_NONE where suitable

This is more idiomatic style and available as of Python 2.4, which is
our minimum.

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/0008a106d4f84206a96fc1fb09a1e6b09f1627ec

Modified Files
--
src/pl/plpython/plpy_cursorobject.c  | 3 +--
src/pl/plpython/plpy_plpymodule.c| 3 +--
src/pl/plpython/plpy_subxactobject.c | 3 +--
3 files changed, 3 insertions(+), 6 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: psql: Update \d sequence display

2017-09-29 Thread Peter Eisentraut
psql: Update \d sequence display

For \d sequencename, the psql code just did SELECT * FROM sequencename
to get the information to display, but this does not contain much
interesting information anymore in PostgreSQL 10, because the metadata
has been moved to a separate system catalog.

This patch creates a newly designed sequence display that is not merely
an extension of the general relation/table display as it was previously.

Example:

PostgreSQL 9.6:

=> \d foobar
   Sequence "public.foobar"
Column |  Type   |Value
---+-+-
 sequence_name | name| foobar
 last_value| bigint  | 1
 start_value   | bigint  | 1
 increment_by  | bigint  | 1
 max_value | bigint  | 9223372036854775807
 min_value | bigint  | 1
 cache_value   | bigint  | 1
 log_cnt   | bigint  | 0
 is_cycled | boolean | f
 is_called | boolean | f

PostgreSQL 10 before this change:

=> \d foobar
   Sequence "public.foobar"
   Column   |  Type   | Value
+-+---
 last_value | bigint  | 1
 log_cnt| bigint  | 0
 is_called  | boolean | f

New:

=> \d foobar
   Sequence "public.foobar"
  Type  | Start | Minimum |   Maximum   | Increment | Cycles? | Cache
+---+-+-+---+-+---
 bigint | 1 |   1 | 9223372036854775807 | 1 | no  | 1

Reviewed-by: Fabien COELHO 

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/5cc5987cedd8c60c738135abcb25df5247db7d1e

Modified Files
--
src/bin/psql/describe.c| 189 +++--
src/test/regress/expected/identity.out |   7 ++
src/test/regress/expected/sequence.out |  13 +++
src/test/regress/sql/identity.sql  |   2 +
src/test/regress/sql/sequence.sql  |   4 +
5 files changed, 135 insertions(+), 80 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: psql: Update \d sequence display

2017-09-29 Thread Peter Eisentraut
psql: Update \d sequence display

For \d sequencename, the psql code just did SELECT * FROM sequencename
to get the information to display, but this does not contain much
interesting information anymore in PostgreSQL 10, because the metadata
has been moved to a separate system catalog.

This patch creates a newly designed sequence display that is not merely
an extension of the general relation/table display as it was previously.

Example:

PostgreSQL 9.6:

=> \d foobar
   Sequence "public.foobar"
Column |  Type   |Value
---+-+-
 sequence_name | name| foobar
 last_value| bigint  | 1
 start_value   | bigint  | 1
 increment_by  | bigint  | 1
 max_value | bigint  | 9223372036854775807
 min_value | bigint  | 1
 cache_value   | bigint  | 1
 log_cnt   | bigint  | 0
 is_cycled | boolean | f
 is_called | boolean | f

PostgreSQL 10 before this change:

=> \d foobar
   Sequence "public.foobar"
   Column   |  Type   | Value
+-+---
 last_value | bigint  | 1
 log_cnt| bigint  | 0
 is_called  | boolean | f

New:

=> \d foobar
   Sequence "public.foobar"
  Type  | Start | Minimum |   Maximum   | Increment | Cycles? | Cache
+---+-+-+---+-+---
 bigint | 1 |   1 | 9223372036854775807 | 1 | no  | 1

Reviewed-by: Fabien COELHO 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/2a14b9609df1de4f2eb5a97aff674aaad033a7e6

Modified Files
--
src/bin/psql/describe.c| 189 +++--
src/test/regress/expected/identity.out |   7 ++
src/test/regress/expected/sequence.out |  13 +++
src/test/regress/sql/identity.sql  |   2 +
src/test/regress/sql/sequence.sql  |   4 +
5 files changed, 135 insertions(+), 80 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Add background worker type

2017-09-29 Thread Peter Eisentraut
Add background worker type

Add bgw_type field to background worker structure.  It is intended to be
set to the same value for all workers of the same type, so they can be
grouped in pg_stat_activity, for example.

The backend_type column in pg_stat_activity now shows bgw_type for a
background worker.  The ps listing also no longer calls out that a
process is a background worker but just show the bgw_type.  That way,
being a background worker is more of an implementation detail now that
is not shown to the user.  However, most log messages still refer to
'background worker "%s"'; otherwise constructing sensible and
translatable log messages would become tricky.

Reviewed-by: Michael Paquier 
Reviewed-by: Daniel Gustafsson 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/5373bc2a0867048bb78f93aede54ac1309b5e227

Modified Files
--
contrib/pg_prewarm/autoprewarm.c   |  6 ++--
doc/src/sgml/bgworker.sgml | 11 +--
src/backend/access/transam/parallel.c  |  1 +
src/backend/postmaster/bgworker.c  | 51 +++---
src/backend/postmaster/postmaster.c|  5 +--
src/backend/replication/logical/launcher.c |  3 ++
src/backend/utils/adt/pgstatfuncs.c| 16 --
src/include/postmaster/bgworker.h  |  2 ++
src/test/modules/test_shm_mq/setup.c   |  2 +-
src/test/modules/worker_spi/worker_spi.c   |  8 +++--
10 files changed, 89 insertions(+), 16 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Add lcov --initial

2017-09-29 Thread Peter Eisentraut
Add lcov --initial

By just running lcov on the produced .gcda data files, we don't account
for source files that are not touched by tests at all.  To fix that, run
lcov --initial to create a base line info file with all zero counters,
and merge that with the actual counters when creating the final report.

Reviewed-by: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/4bb5a2536bcff5dfef9242818979faaa0659b1af

Modified Files
--
.gitignore |  2 +-
src/Makefile.global.in | 25 +++--
2 files changed, 20 insertions(+), 7 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Add PostgreSQL version to coverage output

2017-09-29 Thread Peter Eisentraut
Add PostgreSQL version to coverage output

Also make overriding the title easier.  That helps telling where the
report came from and labeling different variants of a report.

Reviewed-by: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/d2773f9bcd980cf6ed720928cd0700196608ef19

Modified Files
--
src/Makefile.global.in | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Remove SGML marked sections

2017-09-28 Thread Peter Eisentraut
Remove SGML marked sections

For XML compatibility, replace marked sections  with
comments .  In some cases it seemed better to remove the ignored
text altogether, and in one case the text should not have been ignored.

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/22d9764646d03ac7d3419c4fd0effd256568c922

Modified Files
--
doc/src/sgml/Makefile |   2 +-
doc/src/sgml/ecpg.sgml|   7 +--
doc/src/sgml/func.sgml|   9 
doc/src/sgml/release-old.sgml | 100 --
doc/src/sgml/rules.sgml   |   4 +-
5 files changed, 5 insertions(+), 117 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Have lcov exclude external files

2017-09-28 Thread Peter Eisentraut
Have lcov exclude external files

Call lcov with --no-external option to exclude external files (for
example, system headers with inline functions) from output.

Reviewed-by: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/66fd86a6a3d2ac9772f977ec43af190ea3fe6ddb

Modified Files
--
src/Makefile.global.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Run only top-level recursive lcov

2017-09-28 Thread Peter Eisentraut
Run only top-level recursive lcov

This is the way lcov was intended to be used.  It is much faster and
more robust and makes the makefiles simpler than running it in each
subdirectory.

The previous coding ran gcov before lcov, but that is useless because
lcov/geninfo call gcov internally and use that information.  Moreover,
this led to complications and failures during parallel make.  This
separates the two targets:  You either use "make coverage" to get
textual output from gcov or "make coverage-html" to get an HTML report
via lcov.  (Using both is still problematic because they write the same
output files.)

Reviewed-by: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/504923a0ed5c75775196c8ed0cd59b15d55cd39b

Modified Files
--
.gitignore|  1 +
doc/src/sgml/regress.sgml | 13 +
src/Makefile.global.in| 28 
3 files changed, 30 insertions(+), 12 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Re: [COMMITTERS] pgsql: Improve vpath support in plperl build

2017-09-27 Thread Peter Eisentraut
On 9/27/17 15:14, Tom Lane wrote:
> Peter Eisentraut <pete...@gmx.net> writes:
>> Improve vpath support in plperl build
> 
> A fair chunk of the buildfarm doesn't like this.  It looks like
> xsubpp's "-output" option is a johnny-come-lately.

Yup, fixed that.

-- 
Peter Eisentraut  http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix plperl build

2017-09-27 Thread Peter Eisentraut
Fix plperl build

The changes in 639928c988c1c2f52bbe7ca89e8c7c78a041b3e2 turned out to
require Perl 5.9.3, which is newer than our minimum required version.
So revert back to the old code for the normal case and only use the new
variant when both coverage and vpath are used.  As the minimum Perl
version moves forward, we can drop the old code sometime.

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/65c865620237bf1964757436a36c40af591d30fb

Modified Files
--
src/pl/plperl/GNUmakefile | 5 +
1 file changed, 5 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Improve vpath support in plperl build

2017-09-27 Thread Peter Eisentraut
Improve vpath support in plperl build

Run xsubpp with the -output option instead of redirecting stdout.  That
ensures that the #line directives in the output file point to the right
place in a vpath build.  This in turn fixes an error in coverage builds
that it can't find the source files.

Refactor the makefile rules while we're here.

Reviewed-by: Michael Paquier 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/639928c988c1c2f52bbe7ca89e8c7c78a041b3e2

Modified Files
--
src/pl/plperl/GNUmakefile | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Get rid of parameterized marked sections in SGML

2017-09-27 Thread Peter Eisentraut
Get rid of parameterized marked sections in SGML

Previously, we created a variant of the installation instructions for
producing the plain-text INSTALL file by marking up certain parts of
installation.sgml using SGML parameterized marked sections.  Marked
sections will not work anymore in XML, so before we can convert the
documentation to XML, we need a new approach.

DocBook provides a "profiling" feature that allows selecting content
based on attributes, which would work here.  But it imposes a noticeable
overhead when building the full documentation and causes complications
when building some output formats, and given that we recently spent a
fair amount of effort optimizing the documentation build time, it seems
sad to have to accept that.

So as an alternative, (1) we create our own mini-profiling layer that
adjusts just the text we want, and (2) assemble the pieces of content
that we want in the INSTALL file using XInclude.  That way, there is no
overhead when building the full documentation and most of the "ugly"
stuff in installation.sgml can be removed and dealt with out of line.

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/684cf76b83e9dc8aed12aeb9131d2208f61bd31f

Modified Files
--
doc/src/sgml/Makefile|   5 +-
doc/src/sgml/filelist.sgml   |   9 --
doc/src/sgml/installation.sgml   | 245 +--
doc/src/sgml/standalone-install.sgml |  28 
doc/src/sgml/standalone-install.xml  | 167 
doc/src/sgml/standalone-profile.xsl  |  81 
6 files changed, 280 insertions(+), 255 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: pg_basebackup: Add option to create replication slot

2017-09-27 Thread Peter Eisentraut
pg_basebackup: Add option to create replication slot

When requesting a particular replication slot, the new pg_basebackup
option -C/--create-slot creates it before starting to replicate from it.

Further refactor the slot creation logic to include the temporary slot
creation logic into the same function.  Add new arguments is_temporary
and preserve_wal to CreateReplicationSlot().  Print in --verbose mode
that a slot has been created.

Author: Michael Banck 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/3709ca1cf069cee24ef8000cb6a479813b5537df

Modified Files
--
doc/src/sgml/ref/pg_basebackup.sgml  | 16 +++
src/bin/pg_basebackup/pg_basebackup.c| 63 
src/bin/pg_basebackup/pg_receivewal.c|  3 +-
src/bin/pg_basebackup/pg_recvlogical.c   |  4 +-
src/bin/pg_basebackup/receivelog.c   | 18 
src/bin/pg_basebackup/receivelog.h   |  1 -
src/bin/pg_basebackup/streamutil.c   | 16 ---
src/bin/pg_basebackup/streamutil.h   |  5 ++-
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 27 +++-
9 files changed, 112 insertions(+), 41 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Add some more pg_receivewal tests

2017-09-26 Thread Peter Eisentraut
Add some more pg_receivewal tests

Add some more tests for the --create-slot and --drop-slot options,
verifying that the right kind of slot was created and that the slot was
dropped.  While working on an unrelated patch for pg_basebackup, some of
this was temporarily broken without any tests noticing.

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/fa41461205ae4eb417045825583c3209e5a4f339

Modified Files
--
src/bin/pg_basebackup/t/020_pg_receivewal.pl | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Turn on log_replication_commands in PostgresNode

2017-09-26 Thread Peter Eisentraut
Turn on log_replication_commands in PostgresNode

This is useful for example for the pg_basebackup and related tests.

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/43588f58aa045c736af168267e0f1c5934333e15

Modified Files
--
src/test/perl/PostgresNode.pm | 1 +
1 file changed, 1 insertion(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Sort pg_basebackup options better

2017-09-26 Thread Peter Eisentraut
Sort pg_basebackup options better

The --slot option somehow ended up under options controlling the output,
and some other options were in a nonsensical place or were not moved
after recent renamings, so tidy all that up a bit.

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/15a8010ed691f190aad19c0a205f4a17868591e9

Modified Files
--
doc/src/sgml/ref/pg_basebackup.sgml   | 100 +-
src/bin/pg_basebackup/pg_basebackup.c |   6 +-
2 files changed, 53 insertions(+), 53 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Handle heap rewrites better in logical replication

2017-09-26 Thread Peter Eisentraut
Handle heap rewrites better in logical replication

A FOR ALL TABLES publication naturally considers all base tables to be a
candidate for replication.  This includes transient heaps that are
created during a table rewrite during DDL.  This causes failures on the
subscriber side because it will not have a table like pg_temp_16386 to
receive data (and if it did, it would be the wrong table).

The prevent this problem, we filter out any tables that match this
naming pattern and match an actual table from FOR ALL TABLES
publications.  This is only a heuristic, meaning that user tables that
match that naming could accidentally be omitted.  A more robust solution
might require an explicit marking of such tables in pg_class somehow.

Reported-by: yxq 
Bug: #14785
Reviewed-by: Andres Freund 
Reviewed-by: Petr Jelinek 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/ab28feae2bd3d4629bd73ae3548e671c57d785f0

Modified Files
--
src/backend/replication/pgoutput/pgoutput.c | 26 ++
src/test/subscription/t/006_rewrite.pl  | 73 +
2 files changed, 99 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Handle heap rewrites better in logical replication

2017-09-26 Thread Peter Eisentraut
Handle heap rewrites better in logical replication

A FOR ALL TABLES publication naturally considers all base tables to be a
candidate for replication.  This includes transient heaps that are
created during a table rewrite during DDL.  This causes failures on the
subscriber side because it will not have a table like pg_temp_16386 to
receive data (and if it did, it would be the wrong table).

The prevent this problem, we filter out any tables that match this
naming pattern and match an actual table from FOR ALL TABLES
publications.  This is only a heuristic, meaning that user tables that
match that naming could accidentally be omitted.  A more robust solution
might require an explicit marking of such tables in pg_class somehow.

Reported-by: yxq 
Bug: #14785
Reviewed-by: Andres Freund 
Reviewed-by: Petr Jelinek 

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/1a499c252049dad9016a04bcbab27b8c616d4d03

Modified Files
--
src/backend/replication/pgoutput/pgoutput.c | 26 ++
src/test/subscription/t/006_rewrite.pl  | 73 +
2 files changed, 99 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Re: [COMMITTERS] pgsql: Give a better error for duplicate entries in VACUUM/ANALYZE colu

2017-09-25 Thread Peter Eisentraut
On 9/21/17 18:13, Tom Lane wrote:
> Give a better error for duplicate entries in VACUUM/ANALYZE column list.
> 
> Previously, the code didn't think about this case and would just try to
> analyze such a column twice.

In the error message, we should write "specified more than once" instead
of "specified twice", because that could otherwise look a bit silly:

VACUUM ANALYZE vaccluster(i,i,i);
ERROR:  column "i" of relation "vaccluster" is specified twice

(Also, the "is" doesn't seem to fit there.)

-- 
Peter Eisentraut  http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Allow ICU to use SortSupport on Windows with UTF-8

2017-09-24 Thread Peter Eisentraut
Allow ICU to use SortSupport on Windows with UTF-8

There is no reason to ever prevent the use of SortSupport on Windows
when ICU locales are used.  We previously avoided SortSupport on Windows
with UTF-8 server encoding and a non C-locale due to restrictions in
Windows' libc functionality.

This is now considered to be a restriction in one platform's libc
collation provider, and not a more general platform restriction.

Reported-by: Peter Geoghegan 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/6dda0998afc7d449145b9ba216844bdba7a817d6

Modified Files
--
src/backend/utils/adt/varlena.c | 28 
1 file changed, 16 insertions(+), 12 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Allow ICU to use SortSupport on Windows with UTF-8

2017-09-24 Thread Peter Eisentraut
Allow ICU to use SortSupport on Windows with UTF-8

There is no reason to ever prevent the use of SortSupport on Windows
when ICU locales are used.  We previously avoided SortSupport on Windows
with UTF-8 server encoding and a non C-locale due to restrictions in
Windows' libc functionality.

This is now considered to be a restriction in one platform's libc
collation provider, and not a more general platform restriction.

Reported-by: Peter Geoghegan 

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/29923859f91f94c97417b8417ff8475cf4261be1

Modified Files
--
src/backend/utils/adt/varlena.c | 28 
1 file changed, 16 insertions(+), 12 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: doc: Expand user documentation on SCRAM

2017-09-23 Thread Peter Eisentraut
doc: Expand user documentation on SCRAM

Explain more about how the different password authentication methods and
the password_encryption settings relate to each other, give some
upgrading advice, and set a better link from the release notes.

Reviewed-by: Jeff Janes 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/9b31c72a9492880e657b68b1ed971dec3c361c95

Modified Files
--
doc/src/sgml/client-auth.sgml | 127 --
doc/src/sgml/config.sgml  |   2 +-
doc/src/sgml/release-10.sgml  |   2 +-
3 files changed, 100 insertions(+), 31 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: doc: Expand user documentation on SCRAM

2017-09-23 Thread Peter Eisentraut
doc: Expand user documentation on SCRAM

Explain more about how the different password authentication methods and
the password_encryption settings relate to each other, give some
upgrading advice, and set a better link from the release notes.

Reviewed-by: Jeff Janes 

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/33e2f346b0689cf7631fcfe7db91dc56767f2659

Modified Files
--
doc/src/sgml/client-auth.sgml | 127 --
doc/src/sgml/config.sgml  |   2 +-
doc/src/sgml/release-10.sgml  |   2 +-
3 files changed, 100 insertions(+), 31 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix pg_basebackup test to original intent

2017-09-23 Thread Peter Eisentraut
Fix pg_basebackup test to original intent

One test case was meant to check that pg_basebackup does not succeed
when a slot is specified with -S but WAL streaming is not selected,
which used to require specifying -X stream.  Since -X stream is the
default in PostgreSQL 10, this test case no longer covers that meaning,
but the pg_basebackup invocation happened to fail anyway for the
unrelated reason that the specified replication slot does not exist.  To
fix, move the test case to later in the file where the slot does exist,
and add -X none to the invocation so that it covers the originally meant
behavior.

extracted from a patch by Michael Banck 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/74ca8f9b9077017529fe658e445a11da296ac6ab

Modified Files
--
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix pg_basebackup test to original intent

2017-09-23 Thread Peter Eisentraut
Fix pg_basebackup test to original intent

One test case was meant to check that pg_basebackup does not succeed
when a slot is specified with -S but WAL streaming is not selected,
which used to require specifying -X stream.  Since -X stream is the
default in PostgreSQL 10, this test case no longer covers that meaning,
but the pg_basebackup invocation happened to fail anyway for the
unrelated reason that the specified replication slot does not exist.  To
fix, move the test case to later in the file where the slot does exist,
and add -X none to the invocation so that it covers the originally meant
behavior.

extracted from a patch by Michael Banck 

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/7c8ce791d4b3e774ffe4c7c987a7055619663818

Modified Files
--
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Refactor new file permission handling

2017-09-23 Thread Peter Eisentraut
Refactor new file permission handling

The file handling functions from fd.c were called with a diverse mix of
notations for the file permissions when they were opening new files.
Almost all files created by the server should have the same permissions
set.  So change the API so that e.g. OpenTransientFile() automatically
uses the standard permissions set, and OpenTransientFilePerm() is a new
function that takes an explicit permissions set for the few cases where
it is needed.  This also saves an unnecessary argument for call sites
that are just opening an existing file.

While we're reviewing these APIs, get rid of the FileName typedef and
use the standard const char * for the file name and mode_t for the file
mode.  This makes these functions match other file handling functions
and removes an unnecessary layer of mysteriousness.  We can also get rid
of a few casts that way.

Author: David Steele 

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/0c5803b450e0cc29b3527df3f352e6f18a038cc6

Modified Files
--
contrib/pg_stat_statements/pg_stat_statements.c |  5 +-
src/backend/access/heap/rewriteheap.c   |  8 ++-
src/backend/access/transam/slru.c   |  7 ++-
src/backend/access/transam/timeline.c   |  8 ++-
src/backend/access/transam/twophase.c   |  5 +-
src/backend/access/transam/xlog.c   | 28 --
src/backend/access/transam/xlogutils.c  |  2 +-
src/backend/catalog/catalog.c   |  2 +-
src/backend/libpq/be-fsstubs.c  |  6 +--
src/backend/replication/logical/origin.c|  7 ++-
src/backend/replication/logical/reorderbuffer.c |  7 ++-
src/backend/replication/logical/snapbuild.c |  5 +-
src/backend/replication/slot.c  |  6 +--
src/backend/replication/walsender.c |  4 +-
src/backend/storage/file/copydir.c  |  5 +-
src/backend/storage/file/fd.c   | 68 ++---
src/backend/storage/ipc/dsm_impl.c  |  2 +-
src/backend/storage/smgr/md.c   | 12 ++---
src/backend/utils/cache/relmapper.c |  7 +--
src/backend/utils/misc/guc.c|  3 +-
src/include/storage/fd.h| 15 +++---
21 files changed, 110 insertions(+), 102 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Re: [COMMITTERS] pgsql: Fix saving and restoring umask

2017-09-23 Thread Peter Eisentraut
On 9/22/17 17:48, Tom Lane wrote:
> Peter Eisentraut <pete...@gmx.net> writes:
>> Fix saving and restoring umask
>> In two cases, we set a different umask for some piece of code and
>> restore it afterwards.  But if the contained code errors out, the umask
>> is not restored.  So add TRY/CATCH blocks to fix that.
> 
> Doesn't that need to be back-patched?

done

-- 
Peter Eisentraut  http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix saving and restoring umask

2017-09-23 Thread Peter Eisentraut
Fix saving and restoring umask

In two cases, we set a different umask for some piece of code and
restore it afterwards.  But if the contained code errors out, the umask
is not restored.  So add TRY/CATCH blocks to fix that.

Branch
--
REL_10_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/3d7f11a0fabb038ce5c630b87dfadd8b625347fe

Modified Files
--
src/backend/commands/copy.c| 11 ++-
src/backend/libpq/be-fsstubs.c | 13 +++--
2 files changed, 21 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix saving and restoring umask

2017-09-23 Thread Peter Eisentraut
Fix saving and restoring umask

In two cases, we set a different umask for some piece of code and
restore it afterwards.  But if the contained code errors out, the umask
is not restored.  So add TRY/CATCH blocks to fix that.

Branch
--
REL9_6_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/a1f30ecc5115b0186ad02ec76f75296906813d26

Modified Files
--
src/backend/commands/copy.c| 11 ++-
src/backend/libpq/be-fsstubs.c | 13 +++--
2 files changed, 21 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix saving and restoring umask

2017-09-23 Thread Peter Eisentraut
Fix saving and restoring umask

In two cases, we set a different umask for some piece of code and
restore it afterwards.  But if the contained code errors out, the umask
is not restored.  So add TRY/CATCH blocks to fix that.

Branch
--
REL9_3_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/e0f5710c5e8b9502ac8bcd821d3418053ed38f7a

Modified Files
--
src/backend/commands/copy.c| 11 ++-
src/backend/libpq/be-fsstubs.c | 13 +++--
2 files changed, 21 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix saving and restoring umask

2017-09-23 Thread Peter Eisentraut
Fix saving and restoring umask

In two cases, we set a different umask for some piece of code and
restore it afterwards.  But if the contained code errors out, the umask
is not restored.  So add TRY/CATCH blocks to fix that.

Branch
--
REL9_4_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/9bf04994697dd094032d08682a25cbba7aba523f

Modified Files
--
src/backend/commands/copy.c| 11 ++-
src/backend/libpq/be-fsstubs.c | 13 +++--
2 files changed, 21 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix saving and restoring umask

2017-09-23 Thread Peter Eisentraut
Fix saving and restoring umask

In two cases, we set a different umask for some piece of code and
restore it afterwards.  But if the contained code errors out, the umask
is not restored.  So add TRY/CATCH blocks to fix that.

Branch
--
REL9_2_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/2eb84e54a25098618724ee633fbad78d5e417489

Modified Files
--
src/backend/commands/copy.c| 11 ++-
src/backend/libpq/be-fsstubs.c | 13 +++--
2 files changed, 21 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


  1   2   3   4   5   6   7   8   9   10   >