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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy