Re: BUG #18708: regex problem: (?:[^\d\D]){0} asserts with "lp->nouts == 0 && rp->nins == 0" - Mailing list pgsql-bugs

From Aleksander Alekseev
Subject Re: BUG #18708: regex problem: (?:[^\d\D]){0} asserts with "lp->nouts == 0 && rp->nins == 0"
Date
Msg-id CAJ7c6TMXLaoBB6GmgkkSRH_WoLxqSU_K6ORnw9rP+3JexuKSMQ@mail.gmail.com
Whole thread Raw
In response to Re: BUG #18708: regex problem: (?:[^\d\D]){0} asserts with "lp->nouts == 0 && rp->nins == 0"  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #18708: regex problem: (?:[^\d\D]){0} asserts with "lp->nouts == 0 && rp->nins == 0"
List pgsql-bugs
Hi,

I reviewed, applied and tested patch v2 on Linux x64 and MacOS x64. LGTM.

> I'm not especially in love with the CANTMATCH arc type name, but
> other possibilities such as DUMMY or NOMATCH felt too generic.
> Better ideas anyone?

Well... at least it's consistent with the current naming e.g.
HASCANTMATCH. I suggest keeping it as is.

--
Best regards,
Aleksander Alekseev



pgsql-bugs by date:

Previous
From: "zengman"
Date:
Subject: Re:BUG #18710: "pg_get_viewdef" triggers assertions in special scenarios
Next
From: Aleksander Alekseev
Date:
Subject: Re: BUG #18708: regex problem: (?:[^\d\D]){0} asserts with "lp->nouts == 0 && rp->nins == 0"