X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D92563A1D8E for ; Sat, 15 Jan 2005 00:56:14 +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 45442-02 for ; Sat, 15 Jan 2005 00:56:08 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id 37C2D3A1D22 for ; Sat, 15 Jan 2005 00:56:10 +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 j0F0u52W054952 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 14 Jan 2005 17:56:07 -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 j0F0u4B4047538; Fri, 14 Jan 2005 17:56:04 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.1/8.13.1/Submit) id j0F0u054047537; Fri, 14 Jan 2005 17:56:00 -0700 (MST) (envelope-from mfuhr) Date: Fri, 14 Jan 2005 17:56:00 -0700 From: Michael Fuhr To: Bradley Kieser Cc: PgSQL ADMIN Subject: Re: Script terminates even though ON_ERROR_STOP not set Message-ID: <20050115005600.GA47466@winnie.fuhr.org> References: <41E7B4F6.8070505@kieser.net> <20050114175422.GA18434@winnie.fuhr.org> <41E80B4F.9040701@kieser.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41E80B4F.9040701@kieser.net> 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: 200501/157 X-Sequence-Number: 16016 On Fri, Jan 14, 2005 at 06:11:27PM +0000, Bradley Kieser wrote: > Okay, Michael gets that trophy! Thanks Michael, it needed a commit. > However, this is odd. I get a "No transaction in progress" error coming > out on the commit, but at least it works, so I am happy! What version of the client and server are you using? For the client run "psql --version"; for the server execute "SELECT version();". Where do you have autocommit set? PostgreSQL 7.4 removed autocommit from the server and added it to the client; I wonder if you're using differing client and server versions that are causing confusion. -- Michael Fuhr http://www.fuhr.org/~mfuhr/