RE : Function array_to_string(text[], text) does not exist ???

From: "Johann Robette" <jrobette(at)onyme(dot)com>
To: "'Michael Fuhr'" <mike(at)fuhr(dot)org>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: RE : Function array_to_string(text[], text) does not exist ???
Date: 2004-10-05 13:15:32
Message-ID: 001201c4aadd$64cb35b0$a5010a0a@Johann
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ok, that must be it.
In fact I was originally using 7.3 but I thought that we've upgraded to
7.4 but apparently note.

What I would do is upgrade it and it should work...

Thanls

-----Message d'origine-----
De : Michael Fuhr [mailto:mike(at)fuhr(dot)org]
Envoyé : mardi 5 octobre 2004 15:06
À : Johann Robette
Cc : pgsql-general(at)postgresql(dot)org
Objet : Re: [GENERAL] Function array_to_string(text[], text) does not
exist ???

On Tue, Oct 05, 2004 at 12:07:11PM +0200, Johann Robette wrote:

> I'm trying to call the array_to_string function like this :
> SELECT array_to_string(array[1, 2, 3], '~^~') --> it comes
> directly from the doc.
> I get this error msg :
> ERROR: parser: parse error at or near "[" at character 24

What version of PostgreSQL are you running? According to the Release
Notes, array constructors and array_to_string() were added in 7.4.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2004-10-05 13:23:32 Re: Random not so random
Previous Message Michael Fuhr 2004-10-05 13:06:16 Re: Function array_to_string(text[], text) does not exist ???