Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XlYRM-00031W-59 for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Nov 2014 07:22:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XlYRL-00062f-CB for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Nov 2014 07:22:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XlYRK-00062V-HP; Tue, 04 Nov 2014 07:22:06 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XlYRG-00019L-2L; Tue, 04 Nov 2014 07:22:05 +0000 Received: from ayaki.localdomain ([106.68.211.225]) by mrelayeu.kundenserver.de (mreue001) with ESMTPSA (Nemesis) id 0MZ5db-1XZ3jM1qVf-00Vh1p; Tue, 04 Nov 2014 08:21:56 +0100 Message-ID: <54587E8F.5060206@2ndquadrant.com> Date: Tue, 04 Nov 2014 15:21:51 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: Scott Harrington , Mikko Tiihonen CC: "pgsql-hackers@postgresql.org" , "pgsql-jdbc@postgresql.org" Subject: Re: [JDBC] Pipelining executions to postgresql server References: <1414850643686.34687@nitorcreations.com> <20141101173116.GR13584@awork2.anarazel.de> <1414930308808.49160@nitorcreations.com>, <20141102122320.GB28295@alap3.anarazel.de> <1414934833900.88748@nitorcreations.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:yARicgHSAEhSi296xZUZNnivnQhhqTjJFwP1PjadgwVV+/6ZCsb 3AJPI9GBatHtDyDJduz+kyuj9ktGq+78KFg+m0yV+1x6JjldrIQeuLaCf75rYyDAmVh93uI vnPoo/yGR7ZDRW6gSQ4fuKr38e13fOSouulWuNzxCnAkPXdHteLAXcfZtdPbmV66y0e7DhT Xcc3qt+0S0D0/X3QdkhEw== X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org 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