Re: Assert triggered during RE_compile_and_cache - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Assert triggered during RE_compile_and_cache
Date
Msg-id 2426993.1628201727@sss.pgh.pa.us
Whole thread Raw
In response to Re: Assert triggered during RE_compile_and_cache  (Mark Dilger <mark.dilger@enterprisedb.com>)
Responses Re: Assert triggered during RE_compile_and_cache
List pgsql-hackers
Mark Dilger <mark.dilger@enterprisedb.com> writes:
> +select '' ~ '(())(\2){0}';
> +server closed the connection unexpectedly

> Any ideas?

Huh.  This seems like some deficiency in the part of parseqatom
starting with

    /* annoying special case:  {0} or {0,0} cancels everything */
    if (m == 0 && n == 0)

but I don't immediately see what's different about your failing case
versus the not-failing ones.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Mark Dilger
Date:
Subject: Re: Another regexp performance improvement: skip useless paren-captures
Next
From: Mark Dilger
Date:
Subject: Re: Assert triggered during RE_compile_and_cache