diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-09-25 12:20:45 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-09-25 12:20:45 -0400 |
commit | c961f401b267facca469c83963eddef9227bf244 (patch) | |
tree | 2929461f6f28a7e3ef0ba3ab76e5afb23e948122 /src/backend/utils/adt/jsonb_util.c | |
parent | 49917edadf9d787efbd71b7e1e689eb48c2a1c47 (diff) | |
download | postgresql-c961f401b267facca469c83963eddef9227bf244.tar.gz postgresql-c961f401b267facca469c83963eddef9227bf244.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/utils/adt/jsonb_util.c')
0 files changed, 0 insertions, 0 deletions