Re: BUG #4638: Bug with Geometry in Array - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #4638: Bug with Geometry in Array
Date
Msg-id 29295.1233683002@sss.pgh.pa.us
Whole thread Raw
In response to BUG #4638: Bug with Geometry in Array  ("Bjoern Weitzig" <weitzig@supportgis.de>)
List pgsql-bugs
"Bjoern Weitzig" <weitzig@supportgis.de> writes:
> I use arrays like "select array(select n from a)". This works well except of
> the case with geometry as datatype.

The geometry type intentionally uses ':' as the array delimiter.  It
seems like a good bet that the JDBC driver you're using doesn't expect
anything but ',' as array delimiter.  I checked with the postgis-devel
list and they recommend using the modified JDBC driver that's
distributed with postgis.
http://postgis.refractions.net/documentation/manual-1.3.6SVN/ch04.html#id2726248

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Bjoern Weitzig"
Date:
Subject: BUG #4638: Bug with Geometry in Array
Next
From: Joshua Tolley
Date:
Subject: Behavior of identically-named savepoints