Re: variables with SELECT statement - Mailing list pgsql-sql

From Kevin Duffy
Subject Re: variables with SELECT statement
Date
Msg-id DFC309C8A42633419600522FA8C4AE1A560F1A@mail-01.wrcapital.corp
Whole thread Raw
In response to Re: variables with SELECT statement  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
Thanks Mr. Lane for catching that.

If I run
SELECT regexp_split_to_array('the quick brown fox jumped over the lazy
dog', \\s+');

Straight out of the documentation I get
ERROR: function regexp_split_to_array("unknown", "unknown") does not
exist

Let me guess I have to upgrade.


kd

-----Original Message-----
From: pgsql-sql-owner@postgresql.org
[mailto:pgsql-sql-owner@postgresql.org] On Behalf Of Tom Lane
Sent: Friday, September 05, 2008 5:27 PM
To: Frank Bax
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] variables with SELECT statement

Frank Bax <fbax@sympatico.ca> writes:
> Kevin Duffy wrote:
>> ERROR: function regexp_string_to_array(text, text) does not exist

> Are you running 8.3?

Also, it's regexp_split_to_array ...
        regards, tom lane

--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql


pgsql-sql by date:

Previous
From: "Kevin Duffy"
Date:
Subject: Re: variables with SELECT statement
Next
From: "Scott Marlowe"
Date:
Subject: Re: variables with SELECT statement