From: Marko Tiikkaja <marko@joh.to>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #10794: psql sometimes ignores .psqlrc
Date: Wed, 16 Jul 2014 14:10:17 +0200
Message-ID: <53C66BA9.6040005@joh.to> (raw)
In-Reply-To: <7716.1405475499@sss.pgh.pa.us>
References: <20140628211359.15697.92594@wrigleys.postgresql.org>
<53C5A4B1.8040107@joh.to>
<7716.1405475499@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 7/16/14 3:51 AM, Tom Lane wrote:
> So I'm satisfied with the behavior of HEAD in this area. There's a case
> to be made for back-patching commit 9099e4afe into older branches, but
> I'm not sure if that'd be a good idea or not. People might be depending
> on the old behavior.
I can't envision how anyone could be depending on the old behaviour, but
then again, I'm not very imaginative.
> A different line of thought would be to reset cancel_pressed before
> starting the processing of any script file, so that you actually have to
> press control-C *during* the processing of a file to cancel it. That's
> just narrowing the race condition window some more, but it might be
> worth doing.
If you feel like backpatching is too much, I think we should at least
narrow the window down like this. There's still a chance for a major
duck-up, but you'd have to get very unlucky to pull that off.
.marko
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: marko@joh.to, tgl@sss.pgh.pa.us
Subject: Re: BUG #10794: psql sometimes ignores .psqlrc
In-Reply-To: <53C66BA9.6040005@joh.to>
References: <20140628211359.15697.92594@wrigleys.postgresql.org> <53C5A4B1.8040107@joh.to> <7716.1405475499@sss.pgh.pa.us> <53C66BA9.6040005@joh.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox