diff options
author | Jeff Davis <jdavis@postgresql.org> | 2023-04-21 08:19:41 -0700 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2023-04-21 08:19:41 -0700 |
commit | c04c6c5d6f5f213f217f1e356bf1c2d8b4e255a2 (patch) | |
tree | 2a045c0ab3da75d11215d4a5d8b34bf81f1ffe66 /src/backend/executor/nodeModifyTable.c | |
parent | a23ab2eebfb19bacb9e8d91edb822a0fec37334c (diff) | |
download | postgresql-c04c6c5d6f5f213f217f1e356bf1c2d8b4e255a2.tar.gz postgresql-c04c6c5d6f5f213f217f1e356bf1c2d8b4e255a2.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