Re: Shouldn't psql -1 imply ON_ERROR_STOP?

From: Michael Paesold <mpaesold(at)gmx(dot)at>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Shouldn't psql -1 imply ON_ERROR_STOP?
Date: 2009-07-25 17:12:43
Message-ID: 5050BE4A-3DBD-45DA-A290-6E55205A8223@gmx.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-07-25 17:35:29 Re: proposal: support empty string as separator for string_to_array
Previous Message Kevin Grittner 2009-07-25 16:42:04 Re: When is a record NULL?