On Thu, May 24, 2012 at 10:16 AM, Marko Kreen <markokr(at)gmail(dot)com> wrote:
> Following query crashes backend on 9.2:
>
> select substring('asd TO foo' from ' TO (([a-z0-9._]+|"([^"]+|"")+")+)');
I spent some time trying to reduce this to the simplest case that
still causes a crash, and came up with this:
select substring('a' from '((a))+');
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company