postgresql/src/backend
Jeff Davis c04c6c5d6f Avoid character classification in regex escape parsing.
For regex escape sequences, just test directly for the relevant ASCII
characters rather than using locale-sensitive character
classification.

This fixes an assertion failure when a locale considers a non-ASCII
character, such as "൧", to be a digit.

Reported-by: Richard Guo
Discussion: https://postgr.es/m/CAMbWs49Q6UoKGeT8pBkMtJGJd+16CBFZaaWUk9Du+2ERE5g_YA@mail.gmail.com
Backpatch-through: 11
2023-04-21 08:19:41 -07:00
..
access Use nbtdesc "level" field name consistently. 2023-04-19 12:15:15 -07:00
archive Redesign archive modules 2023-02-17 14:26:42 +09:00
backup Fix various typos and incorrect/outdated name references 2023-04-19 13:50:33 +12:00
bootstrap Fix CREATE INDEX progress reporting for multi-level partitioning. 2023-03-25 15:34:03 -04:00
catalog Remove io prefix from pg_stat_io columns 2023-04-21 07:21:50 +09:00
commands Remove some tabs in SQL code in C string literals 2023-04-19 09:29:43 +02:00
executor Fix various typos and incorrect/outdated name references 2023-04-19 13:50:33 +12:00
foreign De-Revert "Add support for Kerberos credential delegation" 2023-04-13 08:55:07 -04:00
jit SQL/JSON: support the IS JSON predicate 2023-03-31 22:34:04 +02:00
lib Fix ILIST_DEBUG build 2023-01-18 10:26:15 -08:00
libpq NULL is not an ideal way to spell bool "false". 2023-04-14 13:31:51 -04:00
main Remove obsolete defense against strxfrm() bugs. 2023-04-20 13:20:14 +12:00
nodes Fix list_copy_head() with empty Lists 2023-04-20 10:34:46 +12:00
optimizer Fix various typos and incorrect/outdated name references 2023-04-19 13:50:33 +12:00
parser Harmonize some more function parameter names. 2023-04-13 10:15:20 -07:00
partitioning Fix incorrect partition pruning logic for boolean partitioned tables 2023-04-14 16:20:27 +12:00
po meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
port Update copyright for 2023 2023-01-02 15:00:37 -05:00
postmaster Fix autovacuum cost debug logging 2023-04-20 15:45:44 +02:00
regex Avoid character classification in regex escape parsing. 2023-04-21 08:19:41 -07:00
replication Restart the apply worker if the 'password_required' option is changed. 2023-04-20 08:56:18 +05:30
rewrite Fix various typos 2023-04-18 13:23:23 +12:00
snowball Update copyright for 2023 2023-01-02 15:00:37 -05:00
statistics Add SysCacheGetAttrNotNull for guaranteed not-null attrs 2023-03-25 22:49:33 +01:00
storage Fix various typos and incorrect/outdated name references 2023-04-19 13:50:33 +12:00
tcop Handle logical slot conflicts on standby 2023-04-08 00:05:44 -07:00
tsearch Update tsearch regex memory management. 2023-04-08 22:09:17 +12:00
utils Fix incorrect function name reference 2023-04-21 10:46:08 +12:00
.gitignore
Makefile Redesign archive modules 2023-02-17 14:26:42 +09:00
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
meson.build meson: Prevent installation of test files during main install 2023-03-03 07:45:52 +01:00
nls.mk NLS: Put list of available languages into LINGUAS files 2022-07-13 08:19:17 +02:00