aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/cash.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-10-30 12:21:28 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-10-30 12:22:11 -0400
commiteb5834d5af5fd094da2f61a874d9d0ec9c870f6c (patch)
treeff02b14f64f164f9b64fdbc045825583cf8792d4 /src/backend/utils/adt/cash.c
parentfae54e4a168f9da517be38723fa5f4b7cfeb59c9 (diff)
downloadpostgresql-eb5834d5af5fd094da2f61a874d9d0ec9c870f6c.tar.gz
postgresql-eb5834d5af5fd094da2f61a874d9d0ec9c870f6c.zip
Further improvement of make_greater_string.
Make sure that it considers all the possibilities that the old code did, instead of trying only one possibility per character position. To keep the runtime in bounds, instead tweak the character incrementers to not try every possible multibyte character code. Remove unnecessary logic to restore the old character value on failure. Additional comment and formatting cleanup.
Diffstat (limited to 'src/backend/utils/adt/cash.c')
0 files changed, 0 insertions, 0 deletions