aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/network_spgist.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:47 -0700
commit79a66c617ae3e9e0258087c6e3209b021badda4b (patch)
treeca839b85717ad1031b5b41f685d3014642752f04 /src/backend/utils/adt/network_spgist.c
parent6dce37203410b011c0ccae40acf2649f79c38242 (diff)
downloadpostgresql-79a66c617ae3e9e0258087c6e3209b021badda4b.tar.gz
postgresql-79a66c617ae3e9e0258087c6e3209b021badda4b.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/utils/adt/network_spgist.c')
0 files changed, 0 insertions, 0 deletions