diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-12-01 14:47:13 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-12-01 14:47:20 -0500 |
commit | 181346cf9892820c94f51525d2c38684148812bf (patch) | |
tree | abe28e489388d68e9b5bea9304938f49b943d619 /src/backend/access/transam/commit_ts.c | |
parent | c79bdc9904afefeee495455be7dea737d714fbb4 (diff) | |
download | postgresql-181346cf9892820c94f51525d2c38684148812bf.tar.gz postgresql-181346cf9892820c94f51525d2c38684148812bf.zip |
Further tweaking of print_aligned_vertical().
Don't force the data width to extend all the way to the right margin if it
doesn't need to. This reverts the behavior in non-wrapping cases to be
what it was in 9.4. Also, make the logic that ensures the data line width
is at least equal to the record-header line width a little less obscure.
In passing, avoid possible calculation of log10(0). Probably that's
harmless, given the lack of field complaints, but it seems risky:
conversion of NaN to an integer isn't well defined.
Diffstat (limited to 'src/backend/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions