8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2413ac9 commit e2cd62cCopy full SHA for e2cd62c
src/bin/psql/print.c
@@ -3,7 +3,7 @@
3
*
4
* Copyright (c) 2000-2008, PostgreSQL Global Development Group
5
6
- * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.104 2008/05/17 17:52:14 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.105 2008/05/17 21:40:44 momjian Exp $
7
*/
8
#include "postgres_fe.h"
9
@@ -634,7 +634,7 @@ print_aligned_text(const printTableContent *cont, FILE *fout)
634
}
635
636
/* If we wrapped beyond the display width, use the pager */
637
- if (!is_pager && output_columns > 0 &&
+ if (!is_pager && fout == stdout && output_columns > 0 &&
638
(output_columns < total_header_width || output_columns < width_total))
639
{
640
fout = PageOutput(INT_MAX, cont->opt->pager); /* force pager */
0 commit comments