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:45:12
Message-ID: E1Xu37w-00041x-4k@gemulon.postgresql.org
Views: Raw Message | Whole Thread | 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
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/4b1953079fb020da7089e58e3b0543058d867803

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

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-11-28 07:33:00 pgsql: Fix assertion failure at end of PITR.
Previous Message Fujii Masao 2014-11-27 17:45:02 pgsql: Make \watch respect the user's \pset null setting.