Re: POSIX regex performance bug in 7.3 Vs. 7.2 - Mailing list pgsql-hackers

From Jon Jensen
Subject Re: POSIX regex performance bug in 7.3 Vs. 7.2
Date
Msg-id Pine.LNX.4.50.0302041734180.3793-100000@louche.swelter.net
Whole thread Raw
In response to Re: POSIX regex performance bug in 7.3 Vs. 7.2  (Neil Conway <neilc@samurai.com>)
Responses Re: POSIX regex performance bug in 7.3 Vs. 7.2  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, 4 Feb 2003, Neil Conway wrote:

> Spencer's implementation is outperformed by some other RE engines,
> notably PCRE (www.pcre.org). But switching to another engine might
> impose backward-compatibility problems, in terms of the details of the
> RE syntax.

It would be a delight to be able to use more advanced (IMHO) Perl-
compatible regexes in PostgreSQL. Perhaps a global configuration variable 
to select which regex engine to use would help work around any backward 
compatibility problems? Or, somewhat uglier, a different syntax in SQL for 
the new regex engine?

Jon


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: POSIX regex performance bug in 7.3 Vs. 7.2
Next
From: Kurt Roeckx
Date:
Subject: Re: PGP signing releases