From: | Brent DeSpain <bd(dot)postgres(at)gmail(dot)com> |
---|---|
To: | alvherre <alvherre(at)commandprompt(dot)com> |
Cc: | Andrej <andrej(dot)groups(at)gmail(dot)com>, pgsql-sql <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: Extending Regular Expression bounds limit of 255. |
Date: | 2010-05-28 15:44:28 |
Message-ID: | AANLkTimdWeMwyOMtzhsyzaKrCAuYcc2f5qQohHnQXTM6@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Yep. That is what I was looking at this morning. It is probably too late
in this release of our project to make this change.
Thanks for the help.
Brent DeSpain
Schweitzer Engineering Laboratories, Inc.
On Fri, May 28, 2010 at 9:14 AM, alvherre <alvherre(at)commandprompt(dot)com>wrote:
> Excerpts from Brent DeSpain's message of jue may 27 18:55:55 -0400 2010:
> > It looks like most of our tools are using the Perl version of regular
> > expressions with an upper limit of a bound being 32766. Is there any way
> to
> > change this in PG? Or can I change from POSIX to Perl?
>
> See regcomp.c; you'll have to recompile. The interesting constant is
> DUPMAX (defined in regguts.h as per POSIX), but note that there's
> arithmetic in repeat() with those values. I wouldn't recommend doing
> any of this unless you have time to figure out whether the algorithms
> are efficient for larger values though.
>
> --
> Álvaro Herrera <alvherre(at)commandprompt(dot)com>
> The PostgreSQL Company - Command Prompt, Inc.
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support
>
From | Date | Subject | |
---|---|---|---|
Next Message | Gerardo Herzig | 2010-05-28 20:14:19 | Re: cast record type to array? |
Previous Message | alvherre | 2010-05-28 15:14:44 | Re: Extending Regular Expression bounds limit of 255. |