Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X7Amr-0003Os-NJ for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Jul 2014 22:01:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X7Amr-0004Kh-7a for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Jul 2014 22:01:25 +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 1X7Amq-0004Ka-A1 for pgsql-bugs@postgresql.org; Tue, 15 Jul 2014 22:01:24 +0000 Received: from mail-la0-f43.google.com ([209.85.215.43]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1X7Amm-0005wy-CE for pgsql-bugs@postgresql.org; Tue, 15 Jul 2014 22:01:23 +0000 Received: by mail-la0-f43.google.com with SMTP id hr17so27366lab.16 for ; Tue, 15 Jul 2014 15:01:18 -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 :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Fm9qRoaTG4W2kAsFPOl+5uRI/qOSyKyPoJBTRMYNWXg=; b=OSNpETSy8suKYw30m+RpSPpRKLkOlWMbKMwPAWuO+p2SwMM4MwKIgu5mew7JM4lgpj aRqA3zXIESEMPSo6uuMPuJd4wmLR0yPBcI5BKlnyCb/tb9cSsY1fTgRTfoEhjfaOLqa8 RaNo9RJggD+bsCumGcUutGmFfVmLtxaomlbqQySPblAK2UVolWHfw5sWtaywrwv1gRVw 0iC9ySYrSZV1Bdoen+SymjAbLP7X41KOQZWhqW2hFhNj8VxwVZhTrOKvfBTDPRrJ5NpN 0s1xNvy+Z06LFLnHgjFpSaM9LCybOkzp/401xDOqnfH5ZaebMLykLPPOxuHdv+jukio6 gLlw== X-Gm-Message-State: ALoCoQlCvtsw0OW/IA0bwqRH94r7IJCt7S7gJM2kFMIhSMC9jsDDUZ7+lVnZTA/+U3ukgiernOXI X-Received: by 10.152.23.6 with SMTP id i6mr21442903laf.25.1405461678422; Tue, 15 Jul 2014 15:01:18 -0700 (PDT) Received: from [172.20.10.2] (c-5eeaaab8-74736162.cust.telenor.se. [94.234.170.184]) by mx.google.com with ESMTPSA id xv6sm7479750lab.21.2014.07.15.15.01.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Jul 2014 15:01:17 -0700 (PDT) Message-ID: <53C5A4B1.8040107@joh.to> Date: Wed, 16 Jul 2014 00:01:21 +0200 From: Marko Tiikkaja User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: BUG #10794: psql sometimes ignores .psqlrc References: <20140628211359.15697.92594@wrigleys.postgresql.org> In-Reply-To: <20140628211359.15697.92594@wrigleys.postgresql.org> Content-Type: text/plain; charset=UTF-8; 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 6/28/14, 11:13 PM, marko@joh.to wrote: > If I press ctrl-C while psql is prompting for a password but then log in > (either because I used -W and the server isn't expecting a password or if I > subsequently typed in the correct password), .psqlrc isn't processed. This > seems quite dangerous if the user is e.g. assuming a specific value for > AUTOCOMMIT. (seeing that back branch releases are upcoming..) Ping? .marko -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs