aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-12-01 11:07:29 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-12-01 11:07:29 -0500
commit6fe8ca0a2f8ac5ce2656addb0f6741b5315a8a23 (patch)
tree222ae4194885248edacf8c13e2c2dc1a2e67769d /contrib/postgres_fdw/postgres_fdw.c
parent4122ebcb1056655f23193e4632dccce68c524e43 (diff)
downloadpostgresql-6fe8ca0a2f8ac5ce2656addb0f6741b5315a8a23.tar.gz
postgresql-6fe8ca0a2f8ac5ce2656addb0f6741b5315a8a23.zip
Further adjustment to psql's print_aligned_vertical() function.
We should ignore output_columns unless it's greater than zero. A zero means we couldn't get any information from ioctl(TIOCGWINSZ); in that case the expected behavior is to print the data at native width, not to wrap it at the smallest possible value. print_aligned_text() gets this consideration right, but print_aligned_vertical() lost track of this detail somewhere along the line.
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions