pgsql: Avoid character classification in regex escape parsing.

2023-04-21 Thread Jeff Davis
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

pgsql: Avoid character classification in regex escape parsing.

2023-04-21 Thread Jeff Davis
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

pgsql: Avoid character classification in regex escape parsing.

2023-04-21 Thread Jeff Davis
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

pgsql: Avoid character classification in regex escape parsing.

2023-04-21 Thread Jeff Davis
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

pgsql: Avoid character classification in regex escape parsing.

2023-04-21 Thread Jeff Davis
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

pgsql: Avoid character classification in regex escape parsing.

2023-04-21 Thread Jeff Davis
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