pgsql: Make \watch respect the user's \pset null setting.

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make \watch respect the user's \pset null setting.
Date: 2014-11-27 17:44:53
Message-ID: E1Xu37d-00040o-8g@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make \watch respect the user's \pset null setting.

Previously \watch always ignored the user's \pset null setting.
\pset null setting should be ignored for \d and similar queries.
For those, the code can reasonably have an opinion about what
the presentation should be like, since it knows what SQL query
it's issuing. This argument surely doesn't apply to \watch,
so this commit makes \watch use the user's \pset null setting.

Back-patch to 9.3 where \watch was added.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a5eb85eb6266c99f79144201f1162e5106969575

Modified Files
--------------
src/bin/psql/command.c | 1 -
1 file changed, 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2014-11-27 17:45:02 pgsql: Make \watch respect the user's \pset null setting.
Previous Message Fujii Masao 2014-11-27 17:14:55 pgsql: Mark response messages for translation in pg_isready.