From: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: [pgjdbc/pgjdbc] abc3d9: fix: use server-prepared statements for batch inse...
Date: Thu, 08 Jun 2017 10:55:39 -0700
Message-ID: <59398f9b3c44b_697b3fe385889c3c14441b@hookshot-fe5-cp1-prd.iad.github.net.mail> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: abc3d9d7f34a001322fbbe53f25d5e77a33a667f
https://github.com/pgjdbc/pgjdbc/commit/abc3d9d7f34a001322fbbe53f25d5e77a33a667f
Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/jdbc/PgPreparedStatement.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/BatchExecuteTest.java
Log Message:
-----------
fix: use server-prepared statements for batch inserts when prepareThreshold>0
Use server-prepared statements when more than 1 row is inserted via executeBatch() API.
Previously it could take up to prepareThresolds batch executions.
see #836
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
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: sitnikov.vladimir@gmail.com
Subject: Re: [pgjdbc/pgjdbc] abc3d9: fix: use server-prepared statements for batch inse...
In-Reply-To: <59398f9b3c44b_697b3fe385889c3c14441b@hookshot-fe5-cp1-prd.iad.github.net.mail>
References: <59398f9b3c44b_697b3fe385889c3c14441b@hookshot-fe5-cp1-prd.iad.github.net.mail>
* 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