pgsql: Add new ECHO mode 'errors' that displays only failed commands in - Mailing list pgsql-committers

From Fujii Masao
Subject pgsql: Add new ECHO mode 'errors' that displays only failed commands in
Date
Msg-id E1X56u0-0002uw-PQ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add new ECHO mode 'errors' that displays only failed commands in psql.

When the psql variable ECHO is set to 'erros', only failed SQL commands
are printed to standard error output. Also this patch adds -b option into psql.
This is equivalent to setting the variable ECHO to 'errors'.

Pavel Stehule, reviewed by Fabrízio de Royes Mello, Samrat Revagade,
Kumar Rajeev Rastogi, Abhijit Menon-Sen, and me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5b214c5dd1de37764797b3fb9164af3c885a7b86

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml |   16 +++++++++++++++-
src/bin/psql/common.c          |    3 +++
src/bin/psql/help.c            |    1 +
src/bin/psql/settings.h        |    1 +
src/bin/psql/startup.c         |    8 +++++++-
5 files changed, 27 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Fix error hint style.
Next
From: Bruce Momjian
Date:
Subject: pgsql: Adjust blank lines around PG_MODULE_MAGIC defines, for consisten