Re: bogus psql "could not save history file[...]" message in 9.3.6
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: bogus psql "could not save history file[...]" message in 9.3.6 |
| Дата | |
| Msg-id | 31313.1426298202@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
|
| Список | pgsql-bugs |
"David G. Johnston" <david.g.johnston@gmail.com> writes:
>> \q # 'could not save history to file "/var/lib/postgresql/.psql_history":
> No such file or directory' !!!
BTW, I poked around in the libedit sources and noted that it will call
wctomb() during write_history(), assuming it's configured to support wide
characters. Working hypothesis is that wctomb() is trying to read some
locale configuration file and not finding it, which it's probably okay
with, but our is-errno-set check is unhappy later. This behavior might
well vary depending on what locale environment you have set.
strace'ing psql while it exits might be informative.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера