From: Michael Fuhr <mike@fuhr.org>
To: Bradley Kieser <brad@kieser.net>
Cc: PgSQL ADMIN <pgsql-admin@postgresql.org>
Subject: Re: Script terminates even though ON_ERROR_STOP not set
Date: Fri, 14 Jan 2005 17:56:00 -0700
Message-ID: <20050115005600.GA47466@winnie.fuhr.org> (raw)
In-Reply-To: <41E80B4F.9040701@kieser.net>
References: <41E7B4F6.8070505@kieser.net>
<20050114175422.GA18434@winnie.fuhr.org>
<41E80B4F.9040701@kieser.net>
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/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mike@fuhr.org, brad@kieser.net
Subject: Re: Script terminates even though ON_ERROR_STOP not set
In-Reply-To: <20050115005600.GA47466@winnie.fuhr.org>
References: <41E7B4F6.8070505@kieser.net> <20050114175422.GA18434@winnie.fuhr.org> <41E80B4F.9040701@kieser.net> <20050115005600.GA47466@winnie.fuhr.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox