summaryrefslogtreecommitdiff
path: root/src/pl/plperl/plperl_helpers.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-09-25 12:20:46 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-09-25 12:20:46 -0400
commitb7d17eca577e01ef50a5f5d09e42f6b271cceee1 (patch)
tree2480f634ea6e6ea3fd32a874dcb362957bc2805e /src/pl/plperl/plperl_helpers.h
parent9c547c939c6a23766797573431b574e2842abf9c (diff)
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/pl/plperl/plperl_helpers.h')
0 files changed, 0 insertions, 0 deletions