psql: honor 'footer' option for expanded output
"No rows" previously only honored the tuples-only option. Per report from Eli Mesika
This commit is contained in:
parent
71129b6fc5
commit
601f48076f
@ -1171,7 +1171,7 @@ print_aligned_vertical(const printTableContent *cont, FILE *fout)
|
||||
if (cont->cells[0] == NULL && cont->opt->start_table &&
|
||||
cont->opt->stop_table)
|
||||
{
|
||||
if (!opt_tuples_only)
|
||||
if (!opt_tuples_only && cont->opt->default_footer)
|
||||
fprintf(fout, _("(No rows)\n"));
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user