• Tom Lane's avatar
    Further improvement of make_greater_string. · eb5834d5
    Tom Lane authored
    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.
    eb5834d5
selfuncs.c 197 KB