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

Commit601f480

Browse files
committed
psql: honor 'footer' option for expanded output
"No rows" previously only honored the tuples-only option.Per report from Eli Mesika
1 parent71129b6 commit601f480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/psql/print.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@ print_aligned_vertical(const printTableContent *cont, FILE *fout)
11711171
if (cont->cells[0]==NULL&&cont->opt->start_table&&
11721172
cont->opt->stop_table)
11731173
{
1174-
if (!opt_tuples_only)
1174+
if (!opt_tuples_only&&cont->opt->default_footer)
11751175
fprintf(fout,_("(No rows)\n"));
11761176
return;
11771177
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp