Headache with a plpgsql function

From: "Dean Grubb" <dean(at)cordeth(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Headache with a plpgsql function
Date: 2007-02-09 00:49:59
Message-ID: 28491583.1170982199492.JavaMail.root@scalix.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I use pgmanager from EMS to code, and have a fucntion that is always returning a NULL value, when I run it in debug mode it works fine, I've traced the problem down to this line

tag := substring(s, '<\s*?[^>]+\s*?>');

are there issues the regexps? I am using - PostgreSQL 8.0.3 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)

Dean

Browse pgsql-general by date

  From Date Subject
Next Message Nicolas Gignac 2007-02-09 01:01:01 Re: Client connection: Port 5432 / Postgres
Previous Message Clodoaldo 2007-02-09 00:42:47 Re: Move data between two databases SQL-ASCII to UTF8