Re: BUG #10794: psql sometimes ignores .psqlrc

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Marko Tiikkaja <marko(at)joh(dot)to>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #10794: psql sometimes ignores .psqlrc
Date: 2014-07-16 02:29:04
Message-ID: 8579.1405477744@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Stephen Frost <sfrost(at)snowman(dot)net> writes:
> * Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
>> In any case, I'm disinclined to mess with this in the back branches ...

> If we have a simple/clean patch to fix the "Ctrl-C ignored at password
> prompt", such that, instead, psql exits more-or-less immediately then
> I'd be for back-patching just that as it certainly has always felt like
> a wart or even a bug to me, but I agree that we don't want to introduce
> other behavior changes beyond that in back-branches.

That would be commit 9099e4afe. I won't vote against back-patching if
people think it's unlikely that anyone is expecting the old behavior.

> While we're at it, we should fix the complaint about .psql_history being
> missing.. This isn't an error, imv:
> could not save history to file "/home/sfrost/.psql_history": No such file or directory

Eh? I've not seen anything like that personally. I seem to recall having
heard of it happening with broken readline or libedit versions, but we
don't have very much ability to work around bugs in those.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Stephen Frost 2014-07-16 02:36:56 Re: BUG #10794: psql sometimes ignores .psqlrc
Previous Message Stephen Frost 2014-07-16 02:05:14 Re: BUG #10794: psql sometimes ignores .psqlrc