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/ ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html