Re: Fwd: [JDBC] Weird issues when reading UDT from stored function

Поиск
Список
Период
Сортировка
От Florian Pflug
Тема Re: Fwd: [JDBC] Weird issues when reading UDT from stored function
Дата
Msg-id AC9A9506-36C4-415A-9C1D-40CBB80C450A@phlo.org
обсуждение исходный текст
Ответ на Re: Fwd: [JDBC] Weird issues when reading UDT from stored function  (Oliver Jowett <oliver@opencloud.com>)
Ответы Re: Fwd: [JDBC] Weird issues when reading UDT from stored function  (Oliver Jowett <oliver@opencloud.com>)
Re: Fwd: [JDBC] Weird issues when reading UDT from stored function  (Lukas Eder <lukas.eder@gmail.com>)
Список pgsql-hackers
On Feb17, 2011, at 01:14 , Oliver Jowett wrote:
> Any suggestions about how the JDBC driver can express the query to get
> the behavior that it wants? Specifically, the driver wants to call a
> particular function with N OUT or INOUT parameters (and maybe some other
> IN parameters too) and get a resultset with N columns back.

There's no sane way to do that, I fear. You could of course look up the
function definition in the catalog before actually calling it, but with
overloading and polymorphic types finding the right pg_proc entry seems
awfully complex.

Your best option is probably to just document this caveat...

best regards,
Florian Pflug



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

Предыдущее
От: rsmogura
Дата:
Сообщение: Re: Fwd: [JDBC] Weird issues when reading UDT from stored function
Следующее
От: Florian Pflug
Дата:
Сообщение: Re: Fwd: [JDBC] Weird issues when reading UDT from stored function