Re: BUG #14287: psql_history gets wiped out

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #14287: psql_history gets wiped out
Дата
Msg-id 24679.1470950130@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #14287: psql_history gets wiped out  (Rick Otten <rotten@windfish.net>)
Ответы Re: BUG #14287: psql_history gets wiped out  (Rick Otten <rotten@windfish.net>)
Список pgsql-bugs
Rick Otten <rotten@windfish.net> writes:
> I'm using the repo:
>  deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main 9.5
> That repo version is using _libedit_, not _libreadline_:

Hmm.  Our general experience is that libedit is buggier than libreadline,
but I've not heard of this particular symptom before.  It might be
entertaining to see if you can strace psql while it's doing this.
Something like

    strace -o some.file psql ... usual parameters ...
    ... issue a command or two just to be sure there's history to write
    ... close window

and then look at the last few dozen lines of some.file.

            regards, tom lane



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

Предыдущее
От: Rick Otten
Дата:
Сообщение: Re: BUG #14287: psql_history gets wiped out
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: BUG: Session getting disconnected while executing a function to create materialised views in PostgreSQL 9.6