Re: Assert triggered during RE_compile_and_cache

Поиск
Список
Период
Сортировка
От Mark Dilger
Тема Re: Assert triggered during RE_compile_and_cache
Дата
Msg-id 29C525E6-A912-459F-BE27-217F25F76B5E@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Assert triggered during RE_compile_and_cache  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Assert triggered during RE_compile_and_cache
Список pgsql-hackers

> On Aug 5, 2021, at 3:15 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> I don't immediately see what's different about your failing case
> versus the not-failing ones.

I have now found lots of cases of this failure.  I *believe* the backreference is always greater than 1, and it is
alwaysin a capture group which then has the {0} or {0,0} applied to it. 

You can find lots of cases using the attached regex generating script I whipped up for testing your work.  (Note this
isjust a quick and dirty tool for hacking, not anything refined.) 



—
Mark Dilger
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company




Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Assert triggered during RE_compile_and_cache
Следующее
От: Mark Dilger
Дата:
Сообщение: Re: Accidentally dropped constraints: bug?