BUG #10794: psql sometimes ignores .psqlrc

From: marko(at)joh(dot)to
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #10794: psql sometimes ignores .psqlrc
Date: 2014-06-28 21:13:59
Message-ID: 20140628211359.15697.92594@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 10794
Logged by: Marko Tiikkaja
Email address: marko(at)joh(dot)to
PostgreSQL version: 9.3.4
Operating system: OS X, Linux at least
Description:

Hi,

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.

I hear the behaviour is gone in HEAD; might have been fixed by commit
9099e4afe0e4101bc79f078be3e15639a048e633, not sure. I think something
deserves to be back patched.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message bashtanov 2014-06-30 09:43:43 BUG #10816: explain analyze reports different rows counts before and after sort
Previous Message Matheus de Oliveira 2014-06-28 15:07:28 Re: BUG #10793: Empty result set instead of column does not exist error using CTE.