From: Jan de Visser <jdevisser@digitalfairway.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Creating a database using ant
Date: Mon, 21 Nov 2005 00:19:11 -0500
Message-ID: <200511210019.11559.jdevisser@digitalfairway.com> (raw)
In-Reply-To: <43814BE7.1090507@mceachen.us>
References: <43814BE7.1090507@mceachen.us>
On Sunday 20 November 2005 23:24, Nathan McEachen wrote:
> Although autocommit is false, it looks like the sql script is still
> executing within a transaction. Does anyone know a workaround?
You got it the wrong way around. autocommit=false gets you a transaction, i.e.
statements are *not* automatically committed when you have that set. You want
autocommit=true. I've done it (creating databases in ant) and it works...
JdV!!
--
--------------------------------------------------------------
Jan de Visser jdevisser@digitalfairway.com
Baruk Khazad! Khazad ai-menu!
--------------------------------------------------------------
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: jdevisser@digitalfairway.com
Subject: Re: Creating a database using ant
In-Reply-To: <200511210019.11559.jdevisser@digitalfairway.com>
References: <43814BE7.1090507@mceachen.us> <200511210019.11559.jdevisser@digitalfairway.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