pgsql: Make \watch respect the user's \pset null setting. - Mailing list pgsql-committers

From Fujii Masao
Subject pgsql: Make \watch respect the user's \pset null setting.
Date
Msg-id E1Xu37d-00040o-8g@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: Mark response messages for translation in pg_isready.
Next
From: Fujii Masao
Date:
Subject: pgsql: Make \watch respect the user's \pset null setting.