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

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 (view raw or flat)
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

pgsql-hackers by date

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

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