Re: pl/pgsql array return

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: pl/pgsql array return
Дата
Msg-id 001901c1b49c$f7f968a0$8201a8c0@inspiron
обсуждение исходный текст
Ответ на pl/pgsql array return  ("Jose Luis LG" <jlopezgonz@terra.es>)
Ответы Re: pl/pgsql array return  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-jdbc
Jose,
 
What exactly are you trying to do? AFAIK postres can return a result from a function like select sum(column) from table and the result will be in a field named sum but as far as returning an array, I'm not sure.
 
Dave
-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Jose Luis LG
Sent: Wednesday, February 13, 2002 9:25 AM
To: pgsql-jdbc@postgresql.org
Subject: [JDBC] pl/pgsql array return

Hi,

 

I hope someone can help me.  Is it possible to return an array of results from a query in a function in pl/pgsql and get this result via the jdbc.  Could someone send me an example of how this is done.

 

 

Thanks

 

Jose Luis

 

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

Предыдущее
От: "Jose Luis LG"
Дата:
Сообщение: pl/pgsql array return
Следующее
От: "Peter V. Cooper"
Дата:
Сообщение: Re: problem with storing BLOBs larger then 2MB