Make procedure OUT parameters work with JDBC

Peter Eisentraut <peter@eisentraut.org>

Commit: 9213462c539e6412fe0498a7f8e20b662e15c4ec
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2020-10-27T08:01:54Z
Releases: 14.0
Make procedure OUT parameters work with JDBC

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.

Reviewed-by: Andrew Dunstan <andrew@dunslane.net>
Discussion: https://www.postgresql.org/message-id/flat/d7e49540-ea92-b4e2-5fff-42036102f968%402ndquadrant.com

Files

PathChange+/−
src/backend/parser/parse_param.c modified +9 −0

Discussion