diff options
author | Jeff Davis <jdavis@postgresql.org> | 2024-09-24 15:15:03 -0700 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2024-09-24 15:15:18 -0700 |
commit | ac30021356e7aa05a069741d17c3db3e8d520933 (patch) | |
tree | c2c6026a3c1827ac61f88baa0e7ea812125d5222 /src/backend/commands/dbcommands.c | |
parent | 1591b38d17c55015403f6e3c9461538ffcf704e7 (diff) | |
download | postgresql-ac30021356e7aa05a069741d17c3db3e8d520933.tar.gz postgresql-ac30021356e7aa05a069741d17c3db3e8d520933.zip |
Allow length=-1 for NUL-terminated input to pg_strncoll(), etc.
Like ICU, allow a length of -1 to be specified for NUL-terminated
arguments to pg_strncoll(), pg_strnxfrm(), and pg_strnxfrm_prefix().
Simplifies the code and comments.
Discussion: https://postgr.es/m/2d758e07dff26bcc7cbe2aec57431329bfe3679a.camel@j-davis.com
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions