Re: COPY and turning off autocommit

From: Maciek Sakrejda <msakrejda(at)truviso(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: COPY and turning off autocommit
Date: 2009-11-19 21:25:13
Message-ID: 895e58dd0911191325i16cc1e44w70f030072f065858@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

The attached fixes the issue by adapting the internal API to mimic the
Fastpath subprotocol with respect to transactions. It does not include
the test patch above.

The full suite (with the added test) passes with postgresql 8.3 under
both Java 5 and 6. I don't have 1.4 handy, but I did make the
necessary (trivial) change to the v2 QueryExecutorImpl.

Any thoughts?

--
Maciek Sakrejda | Software Engineer | Truviso

1065 E. Hillsdale Blvd., Suite 230
Foster City, CA 94404
(650) 242-3500 Main
(650) 242-3501 F
www.truviso.com

Attachment Content-Type Size
copy-tx-fix.patch text/x-patch 3.2 KB

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2009-11-20 23:45:57 Re: COPY and turning off autocommit
Previous Message Maciek Sakrejda 2009-11-19 20:50:16 Re: COPY and turning off autocommit