Re: BUG #10794: psql sometimes ignores .psqlrc - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #10794: psql sometimes ignores .psqlrc
Date
Msg-id 10027.1405481793@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #10794: psql sometimes ignores .psqlrc  (Stephen Frost <sfrost@snowman.net>)
List pgsql-bugs
Stephen Frost <sfrost@snowman.net> writes:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> Stephen Frost <sfrost@snowman.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

pgsql-bugs by date:

Previous
From: Stephen Frost
Date:
Subject: Re: BUG #10794: psql sometimes ignores .psqlrc
Next
From: Pavan Deolasee
Date:
Subject: Re: BUG #10675: alter database set tablespace and unlogged table