aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/variable.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:21:04 -0700
commit5bcb15b8163a38f4875372888160628d4d872404 (patch)
tree195cda703a6cd80ab64fa7ecba3af3617f3bd9da /src/interfaces/ecpg/preproc/variable.c
parente2e34dfff5e75ee52655053e94ad2acd51335d81 (diff)
downloadpostgresql-5bcb15b8163a38f4875372888160628d4d872404.tar.gz
postgresql-5bcb15b8163a38f4875372888160628d4d872404.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/interfaces/ecpg/preproc/variable.c')
0 files changed, 0 insertions, 0 deletions