From: Scott Marlowe <scott.marlowe@gmail.com>
To: Gary Stainburn <gary.stainburn@ringways.co.uk>
Cc: pgsql-sql@postgresql.org
Subject: Re: regex_replace problem -additional
Date: Fri, 25 Jan 2008 10:29:30 -0600
Message-ID: <dcc563d10801250829rb4b0cafx9b9cbfe692069b91@mail.gmail.com> (raw)
In-Reply-To: <200801251619.43305.gary.stainburn@ringways.co.uk>
References: <200801251615.59186.gary.stainburn@ringways.co.uk>
<200801251619.43305.gary.stainburn@ringways.co.uk>
On Jan 25, 2008 10:19 AM, Gary Stainburn <gary.stainburn@ringways.co.uk> wrote:
> Sorry,
>
> should have added that I tried type-casting to see if that fixed it. It
> didn't.
>
> Gary
>
> goole=# select distinct regex_replace(ud_rfl::text,' *= *'::text,'+'::text)
\df regexp*
List of functions
Schema | Name | Result data type | Argument data types
------------+----------------+------------------+------------------------
pg_catalog | regexp_replace | text | text, text, text
pg_catalog | regexp_replace | text | text, text, text, text
I think you lost a p in there.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: scott.marlowe@gmail.com, gary.stainburn@ringways.co.uk
Subject: Re: regex_replace problem -additional
In-Reply-To: <dcc563d10801250829rb4b0cafx9b9cbfe692069b91@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox