Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita5eb85e

Browse files
committed
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 whatthe presentation should be like, since it knows what SQL queryit'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.
1 parente656f5d commita5eb85e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎src/bin/psql/command.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2868,7 +2868,6 @@ do_watch(PQExpBuffer query_buf, long sleep)
28682868
* Set up rendering options, in particular, disable the pager, because
28692869
* nobody wants to be prompted while watching the output of 'watch'.
28702870
*/
2871-
myopt.nullPrint=NULL;
28722871
myopt.topt.pager=0;
28732872

28742873
for (;;)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp