[COMMITTERS] pgsql: Remove useless trailing spaces in queries in C strings

2017-04-13 Thread Peter Eisentraut
Remove useless trailing spaces in queries in C strings Author: Alexander Law Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/0c22327f269eb3bec25327b0e620bdca082e4628 Modified Files -- contrib/oid2name/oid2name.c | 12 ++-- src/bin/pg_dump/pg_dump.c

[COMMITTERS] pgsql: Remove trailing spaces in some output

2017-04-13 Thread Peter Eisentraut
Remove trailing spaces in some output Author: Alexander Law Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/674677c705f11464857e6dfd0a0d6104656d9c4a Modified Files -- src/backend/executor/nodeMergejoin.c | 2 +- src/bin/pg_waldump/pg_waldump.c | 2 +

[COMMITTERS] pgsql: pg_dump: Dump comments and security labels for publication and s

2017-04-13 Thread Peter Eisentraut
pg_dump: Dump comments and security labels for publication and subscriptions Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/cf615fbaa9893af42ba0f58a02dd52107bde0048 Modified Files -- src/bin/pg_dump/pg_dump.c| 28 ++ src/bin/pg_dump/t/002

[COMMITTERS] pgsql: Make header self-contained

2017-04-13 Thread Peter Eisentraut
Make header self-contained Add necessary include files for things used in the header. (signal.h needed for sig_atomic_t.) Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/d04eac1148a491177cf107fbedc678bcc68b4e31 Modified Files -- src/include/replication/

[COMMITTERS] pgsql: pg_dumpall: Allow --no-role-passwords and --binary-upgrade toget

2017-04-13 Thread Peter Eisentraut
pg_dumpall: Allow --no-role-passwords and --binary-upgrade together This was introduced as part of the patch to add --no-role-passwords, but while it's an unusual combination, there is no actual reason to prevent it. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/ff

[COMMITTERS] pgsql: Fix regexport.c to behave sanely with lookaround constraints.

2017-04-13 Thread Tom Lane
Fix regexport.c to behave sanely with lookaround constraints. regexport.c thought it could just ignore LACON arcs, but the correct behavior is to treat them as satisfiable while consuming zero input (rather reminiscently of commit 9f1e642d5). Otherwise, the emitted simplified-NFA representation m

[COMMITTERS] pgsql: Fix regexport.c to behave sanely with lookaround constraints.

2017-04-13 Thread Tom Lane
Fix regexport.c to behave sanely with lookaround constraints. regexport.c thought it could just ignore LACON arcs, but the correct behavior is to treat them as satisfiable while consuming zero input (rather reminiscently of commit 9f1e642d5). Otherwise, the emitted simplified-NFA representation m

[COMMITTERS] pgsql: Fix regexport.c to behave sanely with lookaround constraints.

2017-04-13 Thread Tom Lane
Fix regexport.c to behave sanely with lookaround constraints. regexport.c thought it could just ignore LACON arcs, but the correct behavior is to treat them as satisfiable while consuming zero input (rather reminiscently of commit 9f1e642d5). Otherwise, the emitted simplified-NFA representation m

[COMMITTERS] pgsql: Fix regexport.c to behave sanely with lookaround constraints.

2017-04-13 Thread Tom Lane
Fix regexport.c to behave sanely with lookaround constraints. regexport.c thought it could just ignore LACON arcs, but the correct behavior is to treat them as satisfiable while consuming zero input (rather reminiscently of commit 9f1e642d5). Otherwise, the emitted simplified-NFA representation m

[COMMITTERS] pgsql: Fix regexport.c to behave sanely with lookaround constraints.

2017-04-13 Thread Tom Lane
Fix regexport.c to behave sanely with lookaround constraints. regexport.c thought it could just ignore LACON arcs, but the correct behavior is to treat them as satisfiable while consuming zero input (rather reminiscently of commit 9f1e642d5). Otherwise, the emitted simplified-NFA representation m

Re: [COMMITTERS] pgsql: doc: add missing sect1 close tag

2017-04-13 Thread Bruce Momjian
On Thu, Apr 13, 2017 at 08:14:55PM +0300, Heikki Linnakangas wrote: > On 04/13/2017 08:13 PM, Bruce Momjian wrote: > >doc: add missing sect1 close tag > > > >Fixes commit 4f3b87ab780b95c2cc8a591259baefaff4852037 > > Oops. Thanks for cleaning up after me! Michael pointed that out earlier, but > I m

Re: [COMMITTERS] pgsql: doc: add missing sect1 close tag

2017-04-13 Thread Heikki Linnakangas
On 04/13/2017 08:13 PM, Bruce Momjian wrote: doc: add missing sect1 close tag Fixes commit 4f3b87ab780b95c2cc8a591259baefaff4852037 Oops. Thanks for cleaning up after me! Michael pointed that out earlier, but I missed it anyway. My doc toolchain didn't complain about that; did you see an er

[COMMITTERS] pgsql: doc: add missing sect1 close tag

2017-04-13 Thread Bruce Momjian
doc: add missing sect1 close tag Fixes commit 4f3b87ab780b95c2cc8a591259baefaff4852037 Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/885fea5a34b036983379688d707b2a20735ebe4a Modified Files -- doc/src/sgml/protocol.sgml | 2 +- 1 file changed, 1 insertio

[COMMITTERS] pgsql: Improve the SASL authentication protocol.

2017-04-13 Thread Heikki Linnakangas
Improve the SASL authentication protocol. This contains some protocol changes to SASL authentiation (which is new in v10): * For future-proofing, in the AuthenticationSASL message that begins SASL authentication, provide a list of SASL mechanisms that the server supports, for the client to ch

[COMMITTERS] pgsql: Refactor libpq authentication request processing.

2017-04-13 Thread Heikki Linnakangas
Refactor libpq authentication request processing. Move the responsibility of reading the data from the authentication request message from PQconnectPoll() to pg_fe_sendauth(). This way, PQconnectPoll() doesn't need to know about all the different authentication request types, and we don't need the

[COMMITTERS] pgsql: Move bootstrap-time lookup of regproc OIDs into genbki.pl.

2017-04-13 Thread Tom Lane
Move bootstrap-time lookup of regproc OIDs into genbki.pl. Formerly, the bootstrap backend looked up the OIDs corresponding to names in regproc catalog entries using brute-force searches of pg_proc. It was somewhat remarkable that that worked at all, since it was used while populating other pretty

[COMMITTERS] pgsql: pg_dump: Always dump subscriptions NOCONNECT

2017-04-13 Thread Peter Eisentraut
pg_dump: Always dump subscriptions NOCONNECT This removes the pg_dump option --no-subscription-connect and makes it the default. Dumping a subscription so that it activates right away when restored is not very useful, because the state of the publication server is unclear. Discussion: https://w

[COMMITTERS] pgsql: pg_dump: Dump subscriptions by default

2017-04-13 Thread Peter Eisentraut
pg_dump: Dump subscriptions by default Dump subscriptions if the current user is a superuser, otherwise write a warning and skip them. Remove the pg_dump option --include-subscriptions. Discussion: https://www.postgresql.org/message-id/e4fbfad5-c6ac-fd50-6777-18c84b34e...@2ndquadrant.com Branc

[COMMITTERS] pgsql: Fix XMLTABLE synopsis, add XMLNAMESPACES example

2017-04-13 Thread Alvaro Herrera
Fix XMLTABLE synopsis, add XMLNAMESPACES example Add a missing comma in the synopsis after the XMLNAMESPACES clause. Also, add an example illustrating the use of that clause. Author: Arjen Nienhuis and Pavel Stěhule Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/73

[COMMITTERS] pgsql: Catversion bump forgotten in previous commit

2017-04-13 Thread Alvaro Herrera
Catversion bump forgotten in previous commit Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/27bcc372b1b323f2d6e0958a05a66b119cfdda38 Modified Files -- src/include/catalog/catversion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pg

[COMMITTERS] pgsql: Minor cleanup of backend SCRAM code.

2017-04-13 Thread Heikki Linnakangas
Minor cleanup of backend SCRAM code. Free each SASL message after sending it. It's not a lot of wasted memory, and it's short-lived, but the authentication code in general tries to pfree() stuff, so let's follow the example. Adding the pfree() revealed a little bug in build_server_first_message()

[COMMITTERS] pgsql: Remove pg_stats_ext view

2017-04-13 Thread Alvaro Herrera
Remove pg_stats_ext view It was created as equivalent of pg_stats, but since the code underlying pg_statistic_ext is more convenient than the one for pg_statistic, pg_stats_ext is no longer useful. Author: David Rowley Reviewed-by: Tomas Vondra Discussion: https://postgr.es/m/cakjs1f9zakpuf9nqrq

[COMMITTERS] pgsql: docs: update major release instructions

2017-04-13 Thread Bruce Momjian
docs: update major release instructions Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/06fc54cd4355caf8e271ffc864885ccaa879159e Modified Files -- src/tools/RELEASE_CHANGES | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) -- Sent vi

[COMMITTERS] pgsql: git_changelog: improve comment

2017-04-13 Thread Bruce Momjian
git_changelog: improve comment Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/e1c86a55762c81ffbcf3985f7eb711026d40824f Modified Files -- src/tools/git_changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committers mailing

[COMMITTERS] pgsql: Mention pg_index changes also cause relcache invalidation

2017-04-13 Thread Simon Riggs
Mention pg_index changes also cause relcache invalidation Amit Langote, additional line by me Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/2c2ecddcffba979ce3457bce3655136b6230a127 Modified Files -- src/backend/utils/cache/inval.c | 7 --- 1 file ch