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:20:32 -0700 |
commit | dde926b0f67d461f578e29c5505f21e0c710fba0 (patch) | |
tree | a2ded0ce4f796800ef87b6a8c72cf254507fb9db /src/backend/access/gist/gistvalidate.c | |
parent | 6d60b718ceb09603eb26b6d6788b5c19c04ec5eb (diff) | |
download | postgresql-dde926b0f67d461f578e29c5505f21e0c710fba0.tar.gz postgresql-dde926b0f67d461f578e29c5505f21e0c710fba0.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/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions