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, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: BUG #10794: psql sometimes ignores .psqlrc
Date: 2014-07-16 03:36:33
Message-ID: 10027.1405481793@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:
>> Stephen Frost <sfrost(at)snowman(dot)net> writes:
>>> 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.

> Oh? I get it every time I run psql w/o a .psql_history file on a stock
> Ubuntu system which certainly has a current libreadline installed..
> Will have to investigate a bit more.

FWIW, I just rechecked and verified I see no such misbehavior with RHEL6's
libreadline, nor with OS X 10.9.4's libedit.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Pavan Deolasee 2014-07-16 04:32:23 Re: BUG #10675: alter database set tablespace and unlogged table
Previous Message Stephen Frost 2014-07-16 02:36:56 Re: BUG #10794: psql sometimes ignores .psqlrc