Re: Defaulting psql to ON_ERROR_ROLLBACK=interactive

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter van Hardenberg <pvh(at)pvh(dot)ca>
Cc: "pgsql-hackers(at)postgresql(dot)org Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Defaulting psql to ON_ERROR_ROLLBACK=interactive
Date: 2017-03-15 14:19:38
Message-ID: 633.1489587578@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter van Hardenberg <pvh(at)pvh(dot)ca> writes:
> It's quite clear to me that the current default behaviour costs the world
> serious pain and heart-ache on a daily basis.

This is a large claim for which you've provided little evidence. On the
other hand, changing behavior like this from one version to the next will
definitely cause a lot of pain and heartache.

I'm also dubious that ON_ERROR_ROLLBACK=interactive is a completely
problem-free setting. It will at least mean that copying-and-pasting
between a script file and your terminal doesn't work transparently.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-03-15 14:20:16 Re: Write Ahead Logging for Hash Indexes
Previous Message Stephen Frost 2017-03-15 13:56:19 Re: Allow pg_dumpall to work without pg_authid