From: Bruce Momjian Date: Tue, 10 Sep 2013 23:07:06 +0000 (-0400) Subject: psql: honor 'footer' option for expanded output X-Git-Tag: REL9_4_BETA1~1155 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=601f48076f8036a223f631692db83ec661f785a6;p=postgresql psql: honor 'footer' option for expanded output "No rows" previously only honored the tuples-only option. Per report from Eli Mesika --- diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index 5589ceaa7f..736225c629 100644 --- a/src/bin/psql/print.c +++ b/src/bin/psql/print.c @@ -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; }