Re: bogus psql "could not save history file[...]" message in 9.3.6

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: bogus psql "could not save history file[...]" message in 9.3.6
Date: 2015-03-14 00:36:21
Message-ID: 29349.1426293381@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> Installed 9.3.6 from apt.postgresql.org onto a reasonably clean Ubuntu
> 14.04 (trusty)

> $ sudo apt-get install [...] # ok
> $ ls -la /var/lib/postgresql # 9.3 is the only result; equivalent to (ls
> -la ~)
> $ sudo su - postgres # ok
> $ psql # ok
>> select 1; # ok
>> \q # 'could not save history to file "/var/lib/postgresql/.psql_history":
> No such file or directory' !!!

Sigh ... let me guess ... libedit? How old? What was the last
combination that worked on this platform?

The only patch recently applied in this area is b0fd5c552, which I really
don't think would have any impact on exit-time saving behavior. What
seems substantially more likely is that your command history library
changed.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2015-03-14 01:03:10 Re: bogus psql "could not save history file[...]" message in 9.3.6
Previous Message David G. Johnston 2015-03-14 00:13:22 bogus psql "could not save history file[...]" message in 9.3.6