[COMMITTERS] pgsql: Add psql variables to track success/failure of SQL queries.

2017-09-12 Thread Tom Lane
Add psql variables to track success/failure of SQL queries. This patch adds ERROR, SQLSTATE, and ROW_COUNT, which are updated after every query, as well as LAST_ERROR_MESSAGE and LAST_ERROR_SQLSTATE, which are updated only when a query fails. The expected usage of these is for scripting. Fabien

[COMMITTERS] pgsql: Introduce BYTES unit for GUCs.

2017-09-12 Thread Andres Freund
Introduce BYTES unit for GUCs. This is already useful for track_activity_query_size, and will further be used in a later commit making the WAL segment size configurable. Author: Beena Emerson Reviewed-By: Andres Freund Discussion: https://postgr.es/m/caog9apeu8bxvwbxkoo9j7zpm76task_vfmeeicejwhmm

[COMMITTERS] pgsql: docs: improve pg_upgrade rsync instructions

2017-09-12 Thread Bruce Momjian
docs: improve pg_upgrade rsync instructions This explains how rsync accomplishes updating standby servers and clarifies the instructions. Reported-by: Andreas Joseph Krogh Discussion: https://postgr.es/m/VisenaEmail.10.2b4049e43870bd16.15d898d696f@tc7-visena Backpatch-through: 9.5 Branch ---

[COMMITTERS] pgsql: docs: improve pg_upgrade rsync instructions

2017-09-12 Thread Bruce Momjian
docs: improve pg_upgrade rsync instructions This explains how rsync accomplishes updating standby servers and clarifies the instructions. Reported-by: Andreas Joseph Krogh Discussion: https://postgr.es/m/VisenaEmail.10.2b4049e43870bd16.15d898d696f@tc7-visena Backpatch-through: 9.5 Branch ---

[COMMITTERS] pgsql: docs: improve pg_upgrade rsync instructions

2017-09-12 Thread Bruce Momjian
docs: improve pg_upgrade rsync instructions This explains how rsync accomplishes updating standby servers and clarifies the instructions. Reported-by: Andreas Joseph Krogh Discussion: https://postgr.es/m/VisenaEmail.10.2b4049e43870bd16.15d898d696f@tc7-visena Backpatch-through: 9.5 Branch ---

[COMMITTERS] pgsql: docs: improve pg_upgrade rsync instructions

2017-09-12 Thread Bruce Momjian
docs: improve pg_upgrade rsync instructions This explains how rsync accomplishes updating standby servers and clarifies the instructions. Reported-by: Andreas Joseph Krogh Discussion: https://postgr.es/m/VisenaEmail.10.2b4049e43870bd16.15d898d696f@tc7-visena Backpatch-through: 9.5 Branch ---

[COMMITTERS] pgsql: doc: Remove useless marked section

2017-09-12 Thread Peter Eisentraut
doc: Remove useless marked section This was left around when this text was moved from installation.sgml in c5ba11f8fb1701441b96a755ea410b96bfe36170. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/2eeaa74b5ba20bc75bbaf10837a1ae966094d6cc Modified Files

[COMMITTERS] pgsql: doc: Document default scope in LDAP URL

2017-09-12 Thread Peter Eisentraut
doc: Document default scope in LDAP URL Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/58bd60995f1c7470c0542f591b303bcc586a5d5f Modified Files -- doc/src/sgml/client-auth.sgml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- Sent via pgsql-c

[COMMITTERS] pgsql: Allow custom search filters to be configured for LDAP auth

2017-09-12 Thread Peter Eisentraut
Allow custom search filters to be configured for LDAP auth Before, only filters of the form "(=)" could be used to search an LDAP server. Introduce ldapsearchfilter so that more general filters can be configured using patterns, like "(|(uid=$username)(mail=$username))" and "(&(uid=$username) (obj