aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorJeff Davis <jdavis@postgresql.org>2023-04-21 08:19:41 -0700
committerJeff Davis <jdavis@postgresql.org>2023-04-21 08:20:17 -0700
commit109363de0a8906ed6b0b4ab5f8e8e3daa3df929a (patch)
tree04893521647ffc1c1aefc80e61952383e516a414 /src/backend/executor/nodeModifyTable.c
parenta14afd3bdc21c0c56401fb8cb2fce74f4b7dc446 (diff)
downloadpostgresql-109363de0a8906ed6b0b4ab5f8e8e3daa3df929a.tar.gz
postgresql-109363de0a8906ed6b0b4ab5f8e8e3daa3df929a.zip
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
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions