From 601f48076f8036a223f631692db83ec661f785a6 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 10 Sep 2013 19:07:06 -0400 Subject: [PATCH] psql: honor 'footer' option for expanded output "No rows" previously only honored the tuples-only option. Per report from Eli Mesika --- src/bin/psql/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0