pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Maciek Sakrejda <msakrejda@truviso.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: COPY and turning off autocommit
Date: Thu, 19 Nov 2009 12:50:16 -0800
Message-ID: <895e58dd0911191250w14c8d61ao408b6be913fcd551@mail.gmail.com> (raw)
In-Reply-To: <895e58dd0911191246l79f504e9nfc61d911216516d0@mail.gmail.com>
References: <895e58dd0911170940p4fefb12fi1fe0c5a8240ccb5@mail.gmail.com>
	<895e58dd0911191246l79f504e9nfc61d911216516d0@mail.gmail.com>

This time with attachment.

-- 
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

Attachments:

copy-tx-test.patch (text/x-patch, 449B) download Index: org/postgresql/test/jdbc2/CopyTest.java =================================================================== RCS file: /cvsroot/jdbc/pgjdbc/org/postgresql/test/jdbc2/CopyTest.java,v retrieving revision 1.2 diff -r1.2 CopyTest.java 259a260,266 > public void testCopyRollback() throws SQLException { > con.setAutoCommit(false); > testCopyInByRow(); > con.rollback(); > assertEquals(0, getCount()); > } >

view thread (6+ messages)  latest in thread

Message-ID: <895e58dd0911191250w14c8d61ao408b6be913fcd551@mail.gmail.com>
Permalink:  ../895e58dd0911191250w14c8d61ao408b6be913fcd551@mail.gmail.com/
Also on:    postgresql.org/message-id/895e58dd0911191250w14c8d61ao408b6be913fcd551@mail.gmail.com

 ·  · 

reply

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: msakrejda@truviso.com
  Subject: Re: COPY and turning off autocommit
  In-Reply-To: <895e58dd0911191250w14c8d61ao408b6be913fcd551@mail.gmail.com>
  References: <895e58dd0911170940p4fefb12fi1fe0c5a8240ccb5@mail.gmail.com> <895e58dd0911191246l79f504e9nfc61d911216516d0@mail.gmail.com> <895e58dd0911191250w14c8d61ao408b6be913fcd551@mail.gmail.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