[COMMITTERS] pgsql: Add statistics subdirectory to Makefile.

2017-06-08 Thread Robert Haas
Add statistics subdirectory to Makefile. Commit 7b504eb282ca2f5104b5c00b4f05a3ef6bb1385b overlooked this. Report and patch by Kyotaro Horiguchi Discussion: http://postgr.es/m/20170608.145852.54673832.horiguchi.kyot...@lab.ntt.co.jp Branch -- master Details --- https://git.postgresql.o

[COMMITTERS] pgsql: Put new command-line options in alphabetical order

2017-06-08 Thread Peter Eisentraut
Put new command-line options in alphabetical order Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/7ff9812f9aef584b6ee076378d77a09a68f12d97 Modified Files -- doc/src/sgml/ref/pg_dumpall.sgml | 16 +-- doc/src/sgml/ref/pg_recvlogical.sgml |

Re: [COMMITTERS] pgsql: Add statistics subdirectory to Makefile.

2017-06-08 Thread Alvaro Herrera
Robert Haas wrote: > Add statistics subdirectory to Makefile. > > Commit 7b504eb282ca2f5104b5c00b4f05a3ef6bb1385b overlooked this. Thanks for fixing. I was going to get to it later today, but it's a hectic week here ... -- Álvaro Herrerahttps://www.2ndQuadrant.com/ PostgreSQL D

[COMMITTERS] pgsql: Improve authentication error messages.

2017-06-08 Thread Heikki Linnakangas
Improve authentication error messages. Most of the improvements were in the new SCRAM code: * In SCRAM protocol violation messages, use errdetail to provide the details. * If pg_backend_random() fails, throw an ERROR rather than just LOG. We shouldn't continue authentication if we can't gene

[COMMITTERS] pgsql: Fix bit-rot in pg_upgrade's test.sh, and improve documentation.

2017-06-08 Thread Tom Lane
Fix bit-rot in pg_upgrade's test.sh, and improve documentation. Doing a cross-version upgrade test with test.sh evidently hasn't been tested since circa 9.2, because the script lacked case branches for old-version servers newer than 9.1. Future-proof that a bit, and clean up breakage induced by o

[COMMITTERS] pgsql: Mark to_tsvector(regconfig,json[b]) functions immutable

2017-06-08 Thread Andrew Dunstan
Mark to_tsvector(regconfig,json[b]) functions immutable This make them consistent with the text function and means they can be used in functional indexes. Catalog version bumped. Per gripe from Josh Berkus. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/f7e6853e1

[COMMITTERS] pgsql: Update key words table for version 10

2017-06-08 Thread Peter Eisentraut
Update key words table for version 10 Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/5c4109f2c8c2027114cfdc7c0617f81928a0b10e Modified Files -- doc/src/sgml/keywords.sgml | 44 +--- 1 file changed, 29 insertions(+)

[COMMITTERS] pgsql: Again report a useful error message when walreceiver's connectio

2017-06-08 Thread Andres Freund
Again report a useful error message when walreceiver's connection closes. Since 7c4f52409a8c (merged in v10), a shutdown master is reported as FATAL: unexpected result after CommandComplete: server closed the connection unexpectedly by walsender. It used to be LOG: replication terminated by

[COMMITTERS] pgsql: Use standard interrupt handling in logical replication launcher.

2017-06-08 Thread Andres Freund
Use standard interrupt handling in logical replication launcher. Previously the exit handling was only able to exit from within the main loop, and not from within the backend code it calls. Fix that by using the standard die() SIGTERM handler, and adding the necessary CHECK_FOR_INTERRUPTS() call.