| From: | Peter Eisentraut <noreply(at)github(dot)com> |
|---|---|
| To: | pgsql-jdbc(at)lists(dot)postgresql(dot)org |
| Subject: | [pgjdbc/pgjdbc] 770b6d: fix: send type void parameters as null value (#1922) |
| Date: | 2020-10-13 10:24:40 |
| Message-ID: | pgjdbc/pgjdbc/push/refs/heads/master/f525f5-770b6d@github.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 770b6d3ebd8ac78dd24e4628740652aae2bb3efd
https://github.com/pgjdbc/pgjdbc/commit/770b6d3ebd8ac78dd24e4628740652aae2bb3efd
Author: Peter Eisentraut <peter(at)eisentraut(dot)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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Cramer | 2020-10-13 10:45:33 | [pgjdbc/pgjdbc] 8947fd: Update README.md |
| Previous Message | Michael Ernst | 2020-10-09 20:32:34 | [pgjdbc/pgjdbc] f525f5: Small tweaks to discussion of null safety |