X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D6F8FD9566 for ; Mon, 21 Nov 2005 04:25:18 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 83568-06 for ; Mon, 21 Nov 2005 08:25:19 +0000 (GMT) X-Greylist: delayed 03:05:56.670223 by SQLgrey- Received: from svr2.postgresql.org (svr2.postgresql.org [65.19.161.25]) by svr1.postgresql.org (Postfix) with ESMTP id 46B1CD95FD for ; Mon, 21 Nov 2005 04:25:13 -0400 (AST) Received: from mail.digitalfairway.ca (ns.digitalfairway.ca [207.164.133.170]) by svr2.postgresql.org (Postfix) with ESMTP id 76BBDF0B9A for ; Mon, 21 Nov 2005 05:19:18 +0000 (GMT) Received: from toronto.toronto.digitalfairway.ca (unknown [192.168.100.10]) by mail.digitalfairway.ca (Postfix) with ESMTP id A43CB95091 for ; Mon, 21 Nov 2005 00:19:11 -0500 (EST) Received: from localhost (toronto.toronto.digitalfairway.ca [127.0.0.1]) by toronto.toronto.digitalfairway.ca (Postfix) with ESMTP id 7760CB3440 for ; Mon, 21 Nov 2005 00:19:11 -0500 (EST) Received: from toronto.toronto.digitalfairway.ca ([127.0.0.1]) by localhost (toronto.toronto.digitalfairway.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03285-03 for ; Mon, 21 Nov 2005 00:19:11 -0500 (EST) Received: from [192.168.0.100] (CPE00119557f5ec-CM000f9faa78f6.cpe.net.cable.rogers.com [70.24.152.86]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by toronto.toronto.digitalfairway.ca (Postfix) with ESMTP id 5BDA0B2839 for ; Mon, 21 Nov 2005 00:19:11 -0500 (EST) From: Jan de Visser To: pgsql-jdbc@postgresql.org Subject: Re: Creating a database using ant Date: Mon, 21 Nov 2005 00:19:11 -0500 User-Agent: KMail/1.8.3 References: <43814BE7.1090507@mceachen.us> In-Reply-To: <43814BE7.1090507@mceachen.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200511210019.11559.jdevisser@digitalfairway.com> X-Virus-Scanned: amavisd-new at digitalfairway.ca X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/133 X-Sequence-Number: 14231 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. =A0Does anyone know a workaround? You got it the wrong way around. autocommit=3Dfalse gets you a transaction,= i.e.=20 statements are *not* automatically committed when you have that set. You wa= nt=20 autocommit=3Dtrue. I've done it (creating databases in ant) and it works... JdV!! =2D-=20 =2D------------------------------------------------------------- Jan de Visser =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 jdevisser@digitalfair= way.com =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Baruk Khazad! Khazad ai-menu! =2D-------------------------------------------------------------