mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user