CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: [email protected] 03/05/23 18:33:23
Modified files:
src/backend/utils/adt: oracle_compat.c
src/include/catalog: catversion.h pg_proc.h
src/include/utils: builtins.h
Log message:
Improve implementation of btrim/ltrim/rtrim: provide a special case for
single-byte encodings, and a direct C implementation of the single-argument
forms (where spaces are always what gets trimmed). This is in preparation
for using rtrim1() as the bpchar-to-text cast operator, but is a useful
performance improvement even if we decide not to do that.