proposal for CallableStatements to handle multiple out parms

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема proposal for CallableStatements to handle multiple out parms
Дата
Msg-id 1087582419.15586.173.camel@localhost.localdomain
обсуждение исходный текст
Ответы unsubscribe  (li li <lili@cs.uoregon.edu>)
Re: proposal for CallableStatements to handle multiple out  (Kris Jurka <books@ejurka.com>)
Re: proposal for CallableStatements to handle multiple out  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
I'm in the process of writing a patch to get the driver to handle
multiple out parms.

One mechanism is to create a composite type and a function such as:

create type Numeric_Proc_RetType as(it1 numeric(30,15),it2
numeric(30,15),it3 numeric(30,15));");

create function Numeric_Proc(numeric(30,15),numeric(30,15),
numeric(30,15)) returns Numeric_Proc_RetType as 'declare work_ret
record; begin select * into work_ret from Numeric_Tab; return work_ret;
end;' language 'plpgsql';


Are there any problems with this ?

Dave
--
Dave Cramer
519 939 0336
ICQ # 14675561


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

Предыдущее
От: "amo99@libero.it"
Дата:
Сообщение: Pg 7.4.2, jdbc 7.4, data type inet
Следующее
От: li li
Дата:
Сообщение: unsubscribe