From: Tom Lane <tgl@sss.pgh.pa.us>
To: dhyan@nataraj.su
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18708: regex problem: (?:[^\d\D]){0} asserts with "lp->nouts == 0 && rp->nins == 0"
Date: Thu, 14 Nov 2024 10:25:48 -0500
Message-ID: <1936218.1731597948@sss.pgh.pa.us> (raw)
In-Reply-To: <18708-f94f2599c9d2c005@postgresql.org>
References: <18708-f94f2599c9d2c005@postgresql.org>
PG Bug reporting form <noreply@postgresql.org> writes:
> If you run
> SELECT '' ~ '(?:[^\d\D]){0}';
> it will assert with "lp->nouts == 0 && rp->nins == 0"
> This behavior have been introduced in 2a0af7fe460 commit.
Thanks for the report --- I'll dig into this later.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, dhyan@nataraj.su, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18708: regex problem: (?:[^\d\D]){0} asserts with "lp->nouts == 0 && rp->nins == 0"
In-Reply-To: <1936218.1731597948@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox