From: Peter Eisentraut <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] 770b6d: fix: send type void parameters as null value (#1922)
Date: Tue, 13 Oct 2020 03:24:40 -0700
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/f525f5-770b6d@github.com> (raw)
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 770b6d3ebd8ac78dd24e4628740652aae2bb3efd
https://github.com/pgjdbc/pgjdbc/commit/770b6d3ebd8ac78dd24e4628740652aae2bb3efd
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2020-10-13 (Tue, 13 Oct 2020)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/core/v3/SimpleParameterList.java
Log Message:
-----------
fix: send type void parameters as null value (#1922)
The previous code sent parameters of type void (used for OUT
parameters of functions) with a text value of "null". While this
doesn't affect anything, since the value is ignored anyway, it's
somewhat confusing, especially if it shows up in debug traces and
error messages, and it's also a bit wasteful to send 4 bytes for
nothing. So instead, send those parameters as a null value, which
seems semantically saner.
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-jdbc@postgresql.org
Cc: noreply@github.com
Subject: Re: [pgjdbc/pgjdbc] 770b6d: fix: send type void parameters as null value (#1922)
In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/f525f5-770b6d@github.com>
References: <pgjdbc/pgjdbc/push/refs/heads/master/f525f5-770b6d@github.com>
* 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