Skip site navigation (1) Skip section navigation (2)

pgsql: psql: Improve error display for psql -f -

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: psql: Improve error display for psql -f -
Date: 2012-03-01 18:02:54
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
psql: Improve error display for psql -f -

Running "psql -f -" used to print

psql:<stdin>:1: ERROR:  blah

but that got broken between 8.4 and 9.0 (commit
b291c0fba83a1e93868e2f69c03be195d620f30c), and now it printed

psql:-:1: ERROR:  blah

This reverts to the old behavior and cleans up some code that was left
dead or useless by the mentioned commit.



Modified Files
src/bin/psql/command.c |   13 ++++++++-----
src/bin/psql/startup.c |    2 --
2 files changed, 8 insertions(+), 7 deletions(-)

pgsql-committers by date

Next:From: Peter EisentrautDate: 2012-03-01 18:52:29
Subject: pgsql: Don't link pg_isolation_regress with libpq
Previous:From: Alvaro HerreraDate: 2012-03-01 15:53:32
Subject: pgsql: Remove TOAST table from pg_database

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group