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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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