Re: Shouldn't psql -1 imply ON_ERROR_STOP? - Mailing list pgsql-hackers

From Michael Paesold
Subject Re: Shouldn't psql -1 imply ON_ERROR_STOP?
Date
Msg-id 5050BE4A-3DBD-45DA-A290-6E55205A8223@gmx.at
Whole thread Raw
In response to Shouldn't psql -1 imply ON_ERROR_STOP?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Am 25.07.2009 um 15:00 schrieb Peter Eisentraut:

> 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?

Sounds reasonable, +1 from me.

Regards
Michael Paesold


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: When is a record NULL?
Next
From: Tom Lane
Date:
Subject: Re: proposal: support empty string as separator for string_to_array