aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execMain.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-09-25 12:20:45 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-09-25 12:20:45 -0400
commit5eb7024379ec0701ce2fae242ae90d7d56ee72bb (patch)
tree39d5746ca3dd4bb93b580bb16eb8a45156d7dc2e /src/backend/executor/execMain.c
parentda4af91cefaabe493577f1d6d17ee78f2e66389c (diff)
downloadpostgresql-5eb7024379ec0701ce2fae242ae90d7d56ee72bb.tar.gz
postgresql-5eb7024379ec0701ce2fae242ae90d7d56ee72bb.zip
Further fix for psql's code for locale-aware formatting of numeric output.
(Third time's the charm, I hope.) Additional testing disclosed that this code could mangle already-localized output from the "money" datatype. We can't very easily skip applying it to "money" values, because the logic is tied to column right-justification and people expect "money" output to be right-justified. Short of decoupling that, we can fix it in what should be a safe enough way by testing to make sure the string doesn't contain any characters that would not be expected in plain numeric output.
Diffstat (limited to 'src/backend/executor/execMain.c')
0 files changed, 0 insertions, 0 deletions