Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X7O2a-0000bh-13 for pgsql-bugs@arkaria.postgresql.org; Wed, 16 Jul 2014 12:10:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X7O2Y-0005aO-Tn for pgsql-bugs@arkaria.postgresql.org; Wed, 16 Jul 2014 12:10:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X7O2W-0005aF-U9 for pgsql-bugs@postgresql.org; Wed, 16 Jul 2014 12:10:28 +0000 Received: from mail-wg0-f44.google.com ([74.125.82.44]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1X7O2O-0004sy-LI for pgsql-bugs@postgresql.org; Wed, 16 Jul 2014 12:10:27 +0000 Received: by mail-wg0-f44.google.com with SMTP id m15so814617wgh.15 for ; Wed, 16 Jul 2014 05:10:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=pzXghPLRvfratbRSzPdGotBaB0cCkElTdiotqEc3fto=; b=Acct8GW1DM2cLwbuupYBQ0jr9wJ+yJk+Wkp18cVEkJfYZteE4qm6eroNDI7Hj2KQhA qCWN8fPY6cIuxcKHS7H6jA9aE8/bRUcv0jXfnGgTGBQN51NPHXq29sVGm9ubBp4QWu9+ ZepU8TKT2lpbr/O2hqQrG9cB7Eu/RgPtrz2cJ41OTSM7yRjCcO9FqcRCjgT5sdFDiGQW 5/G4ojvHLhOQ3mmYYts2KrgE8CJ0E7+G1uio1GerA08Rl5eOLppjZc48m+zOmr/aMaKY AHfHlOXfhcUlmr+/fbqCbkKnBYEbHmBoCOkH5Ux5VSdC/rxXilZF/M0AhqRV9MUOChbx eJgw== X-Gm-Message-State: ALoCoQlX39kZt3vHHPHN8JAUtUTCRum2g41lCS5E5usoup47qMH/oUQW0MuHFy4rq8JSnq2UxvQb X-Received: by 10.180.73.109 with SMTP id k13mr12796012wiv.11.1405512618852; Wed, 16 Jul 2014 05:10:18 -0700 (PDT) Received: from Markos-MacBook-Pro.local ([46.246.117.202]) by mx.google.com with ESMTPSA id w6sm39392870wjr.4.2014.07.16.05.10.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Jul 2014 05:10:18 -0700 (PDT) Message-ID: <53C66BA9.6040005@joh.to> Date: Wed, 16 Jul 2014 14:10:17 +0200 From: Marko Tiikkaja User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Tom Lane CC: pgsql-bugs@postgresql.org Subject: Re: BUG #10794: psql sometimes ignores .psqlrc References: <20140628211359.15697.92594@wrigleys.postgresql.org> <53C5A4B1.8040107@joh.to> <7716.1405475499@sss.pgh.pa.us> In-Reply-To: <7716.1405475499@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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