aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvacuum.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-10-29 14:30:55 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-10-29 14:32:06 -0400
commit7609239f3e8d1cf8818c186c0cfa39145bf6425a (patch)
treed2b1a202b355e3f638473b437d09057f5bc0de4a /src/backend/access/gist/gistvacuum.c
parent78d523b633d0c251c904318f2ba9916e2c47b9e8 (diff)
downloadpostgresql-7609239f3e8d1cf8818c186c0cfa39145bf6425a.tar.gz
postgresql-7609239f3e8d1cf8818c186c0cfa39145bf6425a.zip
Fix assorted bogosities in cash_in() and cash_out().
cash_out failed to handle multiple-byte thousands separators, as per bug #6277 from Alexander Law. In addition, cash_in didn't handle that either, nor could it handle multiple-byte positive_sign. Both routines failed to support multiple-byte mon_decimal_point, which I did not think was worth changing, but at least now they check for the possibility and fall back to using '.' rather than emitting invalid output. Also, make cash_in handle trailing negative signs, which formerly it would reject. Since cash_out generates trailing negative signs whenever the locale tells it to, this last omission represents a fail-to-reload-dumped-data bug. IMO that justifies patching this all the way back.
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions