Make procedure OUT parameters work with JDBC

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Make procedure OUT parameters work with JDBC
Date: 2020-10-19 09:19:10
Message-ID: d7e49540-ea92-b4e2-5fff-42036102f968@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
0001-Make-procedure-OUT-parameters-work-with-JDBC.patch text/plain 1.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2020-10-19 11:09:08 Re: Assertion failure with LEFT JOINs among >500 relations
Previous Message Amit Kapila 2020-10-19 09:11:04 Re: Parallel copy