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: (view raw, whole thread or download thread mbox)
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.

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-2017 The PostgreSQL Global Development Group