From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Make procedure OUT parameters work with JDBC |
Date: | 2020-10-27 08:12:20 |
Message-ID: | 580ddb54-0f84-7051-3e35-ce33782dabab@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2020-10-19 13:15, Andrew Dunstan wrote:
> On 10/19/20 5:19 AM, Peter Eisentraut wrote:
>> A follow-up to the recently added support for OUT parameters for
>> procedures. The JDBC driver sends OUT parameters with type void.
>> This makes sense when calling a function, so that the parameters are
>> ignored in ParseFuncOrColumn(). For a procedure call we want to treat
>> them as unknown. This is of course a bit of a hack on top of another
>> hack, but it's small and contained and gets the job done.
>
> I've tested this and it works as expected. +1 to apply.
committed
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2020-10-27 08:19:57 | Re: [patch] [doc] Clarify that signal functions have no feedback |
Previous Message | Peter Smith | 2020-10-27 08:09:30 | Question about make coverage-html |