Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TECXO-0002Hb-Co for pgsql-jdbc@postgresql.org; Wed, 19 Sep 2012 05:09:26 +0000 Received: from mail-pb0-f46.google.com ([209.85.160.46]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TECXK-0005yf-Ki for pgsql-jdbc@postgresql.org; Wed, 19 Sep 2012 05:09:25 +0000 Received: by pbbrr13 with SMTP id rr13so1572546pbb.19 for ; Tue, 18 Sep 2012 22:09:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=7oAYCHsfkOxra8X8OYm2dbjJ4qLVYECHWKNU3bCfXvQ=; b=bWIMrJK0lrakMiexVm0dGZ6oWqJXF6rS6nbPvbMuVuD968d+bWusw+TJrOP9lNS1UQ NN6IhGYvKRomnfhc57h3LwbT5vISjKPkSHpfBPQoJ82+g5a2bw0ldDS7Q1SE1SlkJXLT ibL8yhAga9LlqO0tCHnsVQfpg5bLYOj8fvupqqjc3fXX2wTybXwFGZt/70VHUIZt5OC0 LMHONIgwgN02hBkSgtj54/MDlp4THcelVxMDdjTV1ffUMAFMrK3kmIWU/hSqxNZ+HAum KE7I3mqoYaUIjjFWfc0M3CabXPU/533auSSUU7ScIzQ950FcW9DJTmzkYb3pb5eX+o/t sE5g== Received: by 10.66.75.168 with SMTP id d8mr4009968paw.63.1348031360258; Tue, 18 Sep 2012 22:09:20 -0700 (PDT) Received: from ayaki.localdomain (office1.postnewspapers.com.au. [150.101.171.128]) by mx.google.com with ESMTPS id gf3sm1174072pbc.74.2012.09.18.22.09.17 (version=SSLv3 cipher=OTHER); Tue, 18 Sep 2012 22:09:19 -0700 (PDT) Message-ID: <5059537A.6050305@ringerc.id.au> Date: Wed, 19 Sep 2012 13:09:14 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: Maciek Sakrejda CC: PostgreSQL JDBC , Dave Cramer Subject: Re: pgbouncer transaction patch? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmDMiL5RxZKAixgE1VZjv+a6JydbEoHpWohAXgL8mNEyIBxjQIY50BhytIwIRabF+O/5v8R X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201209/39 X-Sequence-Number: 23275 On 08/15/2012 12:27 PM, Maciek Sakrejda wrote: > Happened upon this: > > http://treehou.se/~omar/postgresql-jdbc-8.4-701-pgbouncer_txn.patch Is there any reason PgJDBC should ever NOT set QueryExecutor.QUERY_ONESHOT for COMMIT / ROLLBACK / BEGIN ? I wonder if this should just be made unconditional. -- Craig Ringer