Re: BUG #11478: regexp_matches regression in 9.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: myon(at)debian(dot)org
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #11478: regexp_matches regression in 9.2
Date: 2014-09-24 00:27:41
Message-ID: 32339.1411518461@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

myon(at)debian(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message cadili 2014-09-24 16:23:42 BUG #11484: 42804: il tipo del parametro 69 (numeric) non combacia con quello usato alla preparazione del piano
Previous Message myon 2014-09-23 20:41:18 BUG #11478: regexp_matches regression in 9.2