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

Shouldn't psql -1 imply ON_ERROR_STOP?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Shouldn't psql -1 imply ON_ERROR_STOP?
Date: 2009-07-25 13:00:18
Message-ID: 200907251600.19359.peter_e@gmx.net (view raw or flat)
Thread:
Lists: pgsql-hackers
When you run a file with psql -1/--single-transaction, and a command fails, 
you get bombarded with

ERROR:  current transaction is aborted, commands ignored until end of 
transaction block

for the rest of the file.

Shouldn't -1 imply ON_ERROR_STOP or some variant by default?

Responses

pgsql-hackers by date

Next:From: Magnus HaganderDate: 2009-07-25 13:06:44
Subject: Re: Shouldn't psql -1 imply ON_ERROR_STOP?
Previous:From: KaiGai KoheiDate: 2009-07-25 12:50:08
Subject: Re: SE-PostgreSQL Specifications

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