diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-10-30 12:21:28 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-10-30 12:22:11 -0400 |
commit | eb5834d5af5fd094da2f61a874d9d0ec9c870f6c (patch) | |
tree | ff02b14f64f164f9b64fdbc045825583cf8792d4 /src/backend/utils/adt/cash.c | |
parent | fae54e4a168f9da517be38723fa5f4b7cfeb59c9 (diff) | |
download | postgresql-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