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(-)