Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 601f480

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 parent 71129b6 commit 601f480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/psql/print.c

+1-1
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)