Re: BUG #4638: Bug with Geometry in Array

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4638: Bug with Geometry in Array
Дата
Msg-id 29295.1233683002@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4638: Bug with Geometry in Array  ("Bjoern Weitzig" <weitzig@supportgis.de>)
Список 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 по дате отправления:

Предыдущее
От: "Bjoern Weitzig"
Дата:
Сообщение: BUG #4638: Bug with Geometry in Array
Следующее
От: Joshua Tolley
Дата:
Сообщение: Behavior of identically-named savepoints