projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71129b6
)
psql: honor 'footer' option for expanded output
author
Bruce Momjian
<
[email protected]
>
Tue, 10 Sep 2013 23:07:06 +0000
(19:07 -0400)
committer
Bruce Momjian
<
[email protected]
>
Tue, 10 Sep 2013 23:07:06 +0000
(19:07 -0400)
"No rows" previously only honored the tuples-only option.
Per report from Eli Mesika
src/bin/psql/print.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/print.c
b/src/bin/psql/print.c
index 5589ceaa7ff36fd2b01b7af5d33ac78ae3ac02f0..736225c629ef29f0188dc8b23f37961d7bb1e1e6 100644
(file)
--- 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;
}