Re: Assert failure with ICU support
Jeff Davis <pgsql@j-davis.com>
From: Jeff Davis <pgsql@j-davis.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Richard Guo <guofenglinux@gmail.com>, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2023-04-20T19:47:21Z
Lists: pgsql-bugs
On Wed, 2023-04-19 at 16:45 -0400, Tom Lane wrote: > + if (c >= 0x100 || !iscalnum(c)) I'm curious why you say >= 0x100 rather than >= 0x80? What's the purpose of the error? Is it to catch mistakes, or is it to reserve room for adding new escape sequences in the future? Regards, Jeff Davis
Commits
-
Avoid character classification in regex escape parsing.
- 106a1bf824ce 11.20 landed
- 5bcb15b8163a 12.15 landed
- 79a66c617ae3 13.11 landed
- dde926b0f67d 14.8 landed
- 109363de0a89 15.3 landed
- c04c6c5d6f5f 16.0 landed