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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: bogus psql "could not save history file[...]" message in 9.3.6
Дата
Msg-id 29349.1426293381@sss.pgh.pa.us
обсуждение исходный текст
Ответ на bogus psql "could not save history file[...]" message in 9.3.6  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: bogus psql "could not save history file[...]" message in 9.3.6  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-bugs
"David G. Johnston" <david.g.johnston@gmail.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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: bogus psql "could not save history file[...]" message in 9.3.6
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: bogus psql "could not save history file[...]" message in 9.3.6