Re: Script terminates even though ON_ERROR_STOP not set - Mailing list pgsql-admin

From Michael Fuhr
Subject Re: Script terminates even though ON_ERROR_STOP not set
Date
Msg-id 20050115005600.GA47466@winnie.fuhr.org
Whole thread Raw
In response to Re: Script terminates even though ON_ERROR_STOP not set  (Bradley Kieser <brad@kieser.net>)
Responses Re: Script terminates even though ON_ERROR_STOP not set  (Bradley Kieser <brad@kieser.net>)
List pgsql-admin
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/

pgsql-admin by date:

Previous
From: "Chris White (cjwhite)"
Date:
Subject: Limiting size and number of transaction logs
Next
From: Tom Lane
Date:
Subject: Re: Limiting size and number of transaction logs