Skip site navigation (1) Skip section navigation (2)

Re: Script terminates even though ON_ERROR_STOP not set

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Bradley Kieser <brad(at)kieser(dot)net>
Cc: PgSQL ADMIN <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Script terminates even though ON_ERROR_STOP not set
Date: 2005-01-15 00:56:00
Message-ID: 20050115005600.GA47466@winnie.fuhr.org (view raw or flat)
Thread:
Lists: 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/

In response to

Responses

pgsql-admin by date

Next:From: Tom LaneDate: 2005-01-15 01:35:31
Subject: Re: Limiting size and number of transaction logs
Previous:From: Chris White (cjwhite)Date: 2005-01-15 00:31:50
Subject: Limiting size and number of transaction logs

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group