From: | Fujii Masao <fujii(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Add new ECHO mode 'errors' that displays only failed commands in |
Date: | 2014-07-10 05:28:16 |
Message-ID: | E1X56u0-0002uw-PQ@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2014-07-10 18:02:11 | pgsql: Adjust blank lines around PG_MODULE_MAGIC defines, for consisten |
Previous Message | Robert Haas | 2014-07-09 15:35:11 | pgsql: Fix error hint style. |