Make procedure OUT parameters work with JDBC

Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-10-19T09:19:10Z
Lists: pgsql-hackers

Attachments

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

Commits

  1. Make procedure OUT parameters work with JDBC