aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvacuum.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-10-30 15:02:58 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-10-30 15:02:58 -0400
commit6743a878a4e9442a9846d8c270e5028e514d44f3 (patch)
tree27e7968a6e1446f730c74070cea51562f80b8a0a /src/backend/access/gist/gistvacuum.c
parenteb5834d5af5fd094da2f61a874d9d0ec9c870f6c (diff)
downloadpostgresql-6743a878a4e9442a9846d8c270e5028e514d44f3.tar.gz
postgresql-6743a878a4e9442a9846d8c270e5028e514d44f3.zip
Support more locale-specific formatting options in cash_out().
The POSIX spec defines locale fields for controlling the ordering of the value, sign, and currency symbol in monetary output, but cash_out only supported a small subset of these options. Fully implement p/n_sign_posn, p/n_cs_precedes, and p/n_sep_by_space per spec. Fix up cash_in so that it will accept all these format variants. Also, make sure that thousands_sep is only inserted to the left of the decimal point, as required by spec. Per bug #6144 from Eduard Kracmar and discussion of bug #6277. This patch includes some ideas from Alexander Lakhin's proposed patch, though it is very different in detail.
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions