Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 1DEF7632FDB for ; Sat, 29 May 2010 15:57:13 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 73174-06 for ; Sat, 29 May 2010 18:57:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mail.postgresql.org (Postfix) with ESMTP id 919F6632F51 for ; Sat, 29 May 2010 15:57:04 -0300 (ADT) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OIRDP-0002qt-5c for pgsql-sql@postgresql.org; Sat, 29 May 2010 20:56:59 +0200 Received: from e177127132.adsl.alicedsl.de ([85.177.127.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 May 2010 20:56:59 +0200 Received: from tim by e177127132.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 May 2010 20:56:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: pgsql-sql@postgresql.org To: pgsql-sql@postgresql.org connect(): No such file or directory From: Tim Landscheidt Subject: Re: Extending Regular Expression bounds limit of 255. Date: Sat, 29 May 2010 18:56:49 +0000 Organization: Lines: 18 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: e177127132.adsl.alicedsl.de Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:cV9CJOyOPES5qOwyf9jRT0pJzLo= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.79 tagged_above=-5 required=5 tests=BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201005/142 X-Sequence-Number: 34190 Jasen Betts wrote: >> 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? > perhaps you can do something in pl-perl? > posix regular expressions are different to perl regular expressions in > several ways. Another last resort possibility would of course be to "pre- compile" the regular expressions from "A{2000}" to "A{255}A{255}A{255}A{255}A{255}A{255}A{255}A{215}" (with the headaches of "A{1000,2000}" left as an exercise to the read- er :-)). Tim