Re: BUG #11478: regexp_matches regression in 9.2 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #11478: regexp_matches regression in 9.2
Date
Msg-id 32339.1411518461@sss.pgh.pa.us
Whole thread Raw
In response to BUG #11478: regexp_matches regression in 9.2  (myon@debian.org)
List pgsql-bugs
myon@debian.org writes:
> select regexp_matches('foo/bar/baz',
> '^([^/]+?)(?:/([^/]+?))(?:/([^/]+?))?$', '');

> Correct 9.1 result:

>  regexp_matches
> ----------------
>  {foo,bar,baz}

> Bad 9.2 and later result:

>  regexp_matches
> ----------------
> (0 rows)

Even better, it Asserts() in an assert-enabled build :-(.

Fixed, thanks for the report!

            regards, tom lane

pgsql-bugs by date:

Previous
From: myon@debian.org
Date:
Subject: BUG #11478: regexp_matches regression in 9.2
Next
From: cadili@gesp.it
Date:
Subject: BUG #11484: 42804: il tipo del parametro 69 (numeric) non combacia con quello usato alla preparazione del piano