aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/commit_ts.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:51 -0500
commit2287b874546931e2f33cddcafff2bde58459da1b (patch)
treef89018184b844a1340f100dd085b289f48dfe8f1 /src/backend/access/transam/commit_ts.c
parente50cda78404d6400b1326a996a4fabb144871151 (diff)
downloadpostgresql-2287b874546931e2f33cddcafff2bde58459da1b.tar.gz
postgresql-2287b874546931e2f33cddcafff2bde58459da1b.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 'src/backend/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions