]> granicus.if.org Git - postgresql/commit
Make \watch respect the user's \pset null setting.
authorFujii Masao <fujii@postgresql.org>
Thu, 27 Nov 2014 17:42:43 +0000 (02:42 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 27 Nov 2014 17:44:14 +0000 (02:44 +0900)
commit0ec68a083b0619eaf48f7249a6659216c9fe5e35
tree5c28673100eed3df5150bd99ac52963965fe3d8c
parent6e9d43eb02583ce29ffbbf732ab8f26e2a58e4cf
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.
src/bin/psql/command.c