X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7D6CF56439 for ; Sun, 27 Feb 2005 19:54:37 +0000 (GMT) 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 22653-01 for ; Sun, 27 Feb 2005 19:54:21 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id 92EB1563FC for ; Sun, 27 Feb 2005 19:54:26 +0000 (GMT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.1/8.13.1) with ESMTP id j1RJsZ27045049 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 27 Feb 2005 12:54:37 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.1/8.13.1) with ESMTP id j1RJsYLo021923; Sun, 27 Feb 2005 12:54:35 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.1/8.13.1/Submit) id j1RJsYdZ021922; Sun, 27 Feb 2005 12:54:34 -0700 (MST) (envelope-from mfuhr) Date: Sun, 27 Feb 2005 12:54:34 -0700 From: Michael Fuhr To: Don Drake Cc: pgsql-sql@postgresql.org Subject: Re: AutoCommit and DDL Message-ID: <20050227195434.GA21745@winnie.fuhr.org> References: <6c21003b050226125634e9964@mail.gmail.com> <20050227042043.GB77382@winnie.fuhr.org> <6c21003b0502270955673432e7@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6c21003b0502270955673432e7@mail.gmail.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.003 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/364 X-Sequence-Number: 20474 On Sun, Feb 27, 2005 at 11:55:37AM -0600, Don Drake wrote: > I know it's not failing, I have the server logging the commands and > there are no errors. > > The only change made was turning AutoCommit on. Have you used any of DBI's tracing capabilities? Could you post a simple test case? The following works for me with Perl 5.8.6, DBI 1.47, DBD::Pg 1.32, and PostgreSQL 7.4.7 on FreeBSD 4.11-STABLE: #!/usr/bin/perl use strict; use warnings; use DBI; my $dbh = DBI->connect("dbi:Pg:dbname=test", "mfuhr", "", {AutoCommit => 0}); $dbh->do("CREATE TABLE foo (x integer)"); $dbh->commit; $dbh->disconnect; -- Michael Fuhr http://www.fuhr.org/~mfuhr/