public inbox for [email protected]
help / color / mirror / Atom feedFrom: Alexandre Boyer <[email protected]>
To: [email protected]
Subject: [pgjdbc/pgjdbc] 3ced0b: feat: support SET statements combining with other ...
Date: Thu, 16 Nov 2023 07:49:20 -0800
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/[email protected]> (raw)
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 3ced0bc7ba408ecdcb0101fbe586c44e50e04012
https://github.com/pgjdbc/pgjdbc/commit/3ced0bc7ba408ecdcb0101fbe586c44e50e04012
Author: Alexandre Boyer <[email protected]>
Date: 2023-11-16 (Thu, 16 Nov 2023)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/core/Parser.java
M pgjdbc/src/main/java/org/postgresql/core/SqlCommandType.java
M pgjdbc/src/main/java/org/postgresql/jdbc/BatchResultHandler.java
M pgjdbc/src/main/java/org/postgresql/jdbc/PgStatement.java
M pgjdbc/src/main/java/org/postgresql/jdbc/ResultWrapper.java
M pgjdbc/src/test/java/org/postgresql/core/ParserTest.java
A pgjdbc/src/test/java/org/postgresql/test/jdbc2/PreparedStatementWithSetTest.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/StatementTest.java
Log Message:
-----------
feat: support SET statements combining with other queries with semicolon in PreparedStatement
Previoulsy, PreparedStatement supported executing several statements delimited with semicolon,
however, it was failing for SELECT and SET combination as the driver was expecting "query results"
from SET.
Now we ignore SET results, so it enables users to save network roundtrip
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: [pgjdbc/pgjdbc] 3ced0b: feat: support SET statements combining with other ...
In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox