Re: Extending Regular Expression bounds limit of 255.
От | Brent DeSpain |
---|---|
Тема | Re: Extending Regular Expression bounds limit of 255. |
Дата | |
Msg-id | AANLkTimdWeMwyOMtzhsyzaKrCAuYcc2f5qQohHnQXTM6@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Extending Regular Expression bounds limit of 255. (alvherre <alvherre@commandprompt.com>) |
Список | 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.<br/><br />Thanks for the help.<br /><br clear="all" />Brent DeSpain<br />Schweitzer Engineering Laboratories, Inc.<br/><br /><br /><div class="gmail_quote">On Fri, May 28, 2010 at 9:14 AM, alvherre <span dir="ltr"><<a href="mailto:alvherre@commandprompt.com">alvherre@commandprompt.com</a>></span>wrote:<br /><blockquote class="gmail_quote"style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> Excerptsfrom Brent DeSpain's message of jue may 27 18:55:55 -0400 2010:<br /><div class="im">> It looks like most of ourtools are using the Perl version of regular<br /> > expressions with an upper limit of a bound being 32766. Is thereany way to<br /> > change this in PG? Or can I change from POSIX to Perl?<br /><br /></div>See regcomp.c; you'llhave to recompile. The interesting constant is<br /> DUPMAX (defined in regguts.h as per POSIX), but note that there's<br/> arithmetic in repeat() with those values. I wouldn't recommend doing<br /> any of this unless you have timeto figure out whether the algorithms<br /> are efficient for larger values though.<br /><font color="#888888"><br />--<br /> Álvaro Herrera <<a href="mailto:alvherre@commandprompt.com">alvherre@commandprompt.com</a>><br /> The PostgreSQLCompany - Command Prompt, Inc.<br /> PostgreSQL Replication, Consulting, Custom Development, 24x7 support<br /></font></blockquote></div><br/>
В списке pgsql-sql по дате отправления: