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.
Showing
- src/backend/utils/adt/oracle_compat.c 214 additions, 152 deletionssrc/backend/utils/adt/oracle_compat.c
- src/include/catalog/catversion.h 2 additions, 2 deletionssrc/include/catalog/catversion.h
- src/include/catalog/pg_proc.h 10 additions, 10 deletionssrc/include/catalog/pg_proc.h
- src/include/utils/builtins.h 4 additions, 1 deletionsrc/include/utils/builtins.h
Loading
Please register or sign in to comment