Make procedure OUT parameters work with JDBC
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 27 Oct 2020 07:58:48 +0000 (08:58 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 27 Oct 2020 08:01:54 +0000 (09:01 +0100)
commit9213462c539e6412fe0498a7f8e20b662e15c4ec
treec5ec00024da0f4675056df51bf6673556e08a24d
parent8fed2eadb8558185d162cc7fd09192c2e10b915f
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
src/backend/parser/parse_param.c