Re: POSIX regex performance bug in 7.3 Vs. 7.2

From: Jon Jensen <jon(at)endpoint(dot)com>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, wade <wade(at)wavefire(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: POSIX regex performance bug in 7.3 Vs. 7.2
Date: 2003-02-04 17:36:23
Message-ID: Pine.LNX.4.50.0302041734180.3793-100000@louche.swelter.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kurt Roeckx 2003-02-04 17:55:20 Re: PGP signing releases
Previous Message Tom Lane 2003-02-04 17:36:12 Re: POSIX regex performance bug in 7.3 Vs. 7.2