diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-09-25 12:20:46 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-09-25 12:20:46 -0400 |
commit | 80fa5421017b23e992ae71676e424fc5d1acbed8 (patch) | |
tree | f911e1fc9c19a76be0a301f5c3daa3ac88cb9549 /src/pl/plperl/plperl.c | |
parent | 60617d7d680e46e45126baa98c6e20728300c893 (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.c')
0 files changed, 0 insertions, 0 deletions