traversing an array column

Поиск
Список
Период
Сортировка
От agnes
Тема traversing an array column
Дата
Msg-id 004601c2ff00$55628cc0$0bac22cb@a7g6n8
обсуждение исходный текст
Список pgsql-jdbc
Hi,
 
I'm using the pg_constraint system catalog and want to extract the column conkey, which is stored as an int2[], using JDBC. I'm using getArray to extract the array and getResultSet to then extract the actual values in the array, and thats working however I was wondering whether anyone knows of any other way to do it? Is there a simpler method?
Is there any way to traverse an int2 array  (not int4 - since there is the *= method for int4 ONLY)  using sql?
 
Thanks for your time
Agnes


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Chris White"
Дата:
Сообщение: Re: [ADMIN] Problems with Large Objects using Postgres 7.2.1
Следующее
От: "Dirk Bromberg"
Дата:
Сообщение: Re: Problems retrieving data from bytea field