Re: Regexp confusion

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Doug Gorley <doug(dot)gorley(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Regexp confusion
Date: 2009-10-10 03:56:28
Message-ID: 12336.1255146988@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> I think the confusion is about what SIMILAR TO supports. ? it doesn't.

Actually, upon looking into SQL:2008, it seems it's supposed to support
? now, and also {m,n} style bounds. Those weren't there in SQL99 ...

I've changed the similar_escape code to not escape ? and {, so that
those things will work now, and to escape ^ and $ instead.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert Treat 2009-10-10 04:01:50 Volunteers needed to help staff the PostgreSQL Booth at LISA 2009
Previous Message Tom Lane 2009-10-10 02:38:14 Re: transaction ID wraparound - should I use 'VACUUM' or 'VACUUM FULL' ?