Re: [HACKERS] Fwd: Weird issues when reading UDT from stored function - Mailing list pgsql-jdbc

From rsmogura
Subject Re: [HACKERS] Fwd: Weird issues when reading UDT from stored function
Date
Msg-id 90b9defedf07d3c3732025d140897b57@mail.softperience.eu
Whole thread Raw
In response to Re: [HACKERS] Fwd: Weird issues when reading UDT from stored function  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: [HACKERS] Fwd: Weird issues when reading UDT from stored function
List pgsql-jdbc
 On Fri, 18 Feb 2011 00:06:22 +1300, Oliver Jowett wrote:
> On 17/02/11 23:18, rsmogura wrote:
>> Yes, but driver checks number of declared out parameters and number
>> of
>> resulted parameters (even check types of those), to prevent
>> programming
>> errors.
>
> And..?
>
> Oliver

 And it will throw exception when result will income. If you will remove
 this then you will lose check against programming errors, when number of
 expected parameters is different that number of actual parameters. Bear
 in mind that you will get result set of 6 columns, but only 1 is
 expected. I think you can't determine what should be returned and how to
 fix result without signature.


pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: [HACKERS] Fwd: Weird issues when reading UDT from stored function
Next
From: Oliver Jowett
Date:
Subject: Re: [HACKERS] Fwd: Weird issues when reading UDT from stored function