aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/createlang.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-12-01 14:47:13 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-12-01 14:47:13 -0500
commit95708e1d8e38bc1f7f6ee02c38dd86dd53b9663c (patch)
treeb137d77eddbd11cca861700054d84acf154f1b8f /src/bin/scripts/createlang.c
parentdb4a5cfc76206db82d0b929d96c53de229ef1aa4 (diff)
downloadpostgresql-95708e1d8e38bc1f7f6ee02c38dd86dd53b9663c.tar.gz
postgresql-95708e1d8e38bc1f7f6ee02c38dd86dd53b9663c.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/bin/scripts/createlang.c')
0 files changed, 0 insertions, 0 deletions