pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make procedure OUT parameters work with JDBC
Date: Tue, 27 Oct 2020 08:12:11 +0000
Message-ID: <E1kXK5T-000803-LK@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9213462c539e6412fe0498a7f8e20b662e15c4ec

Modified Files
--------------
src/backend/parser/parse_param.c | 9 +++++++++
1 file changed, 9 insertions(+)



Message-ID: <E1kXK5T-000803-LK@gemulon.postgresql.org>
Permalink:  ../E1kXK5T-000803-LK@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kXK5T-000803-LK@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Make procedure OUT parameters work with JDBC
  In-Reply-To: <E1kXK5T-000803-LK@gemulon.postgresql.org>
  References: <E1kXK5T-000803-LK@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox