From: Craig Ringer <craig@2ndquadrant.com>
To: Scott Harrington <scotth01@sns-usa.com>
To: Mikko Tiihonen <Mikko.Tiihonen@nitorcreations.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: [JDBC] Pipelining executions to postgresql server
Date: Tue, 04 Nov 2014 15:21:51 +0800
Message-ID: <54587E8F.5060206@2ndquadrant.com> (raw)
In-Reply-To: <alpine.WNT.2.11.1411021633360.4832@sitra>
References: <1414850643686.34687@nitorcreations.com>
<20141101173116.GR13584@awork2.anarazel.de>
<1414930308808.49160@nitorcreations.com>
<20141102122320.GB28295@alap3.anarazel.de>
<1414934833900.88748@nitorcreations.com>
<alpine.WNT.2.11.1411021633360.4832@sitra>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On 11/03/2014 07:05 AM, Scott Harrington wrote:
> I looked over your patch. Your list of ResultHandlerHolders seems to be
> the right direction, but as Tom Lane mentioned there may need to be some
> way to ensure the statements are all in the same transaction.
Why go down this track, when we already have batching?
Just use the standard JDBC API batching facilities and add the missing
support for batching queries that return result sets in PgJDBC.
--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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: craig@2ndquadrant.com, scotth01@sns-usa.com, Mikko.Tiihonen@nitorcreations.com, pgsql-hackers@postgresql.org
Subject: Re: [JDBC] Pipelining executions to postgresql server
In-Reply-To: <54587E8F.5060206@2ndquadrant.com>
References: <1414850643686.34687@nitorcreations.com> <20141101173116.GR13584@awork2.anarazel.de> <1414930308808.49160@nitorcreations.com> <20141102122320.GB28295@alap3.anarazel.de> <1414934833900.88748@nitorcreations.com> <alpine.WNT.2.11.1411021633360.4832@sitra> <54587E8F.5060206@2ndquadrant.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