BUG #18721: Documentation for psql does not specify that the history feature doesn't work

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #18721: Documentation for psql does not specify that the history feature doesn't work
Дата
Msg-id 18721-f2f262c937eb6621@postgresql.org
обсуждение исходный текст
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      18721
Logged by:          Félix Saparelli
Email address:      felix@passcod.name
PostgreSQL version: 17.2
Operating system:   Windows
Description:

The documentation here https://www.postgresql.org/docs/17/app-psql.html
seems to imply that history works on Windows.

For example, the section for HISTFILE says:

> The file name that will be used to store the history list. If unset, the
file name is taken from the PSQL_HISTORY environment variable. If that is
not set either, the default is ~/.psql_history, or
%APPDATA%\postgresql\psql_history on Windows.

However, all efforts to try to get this working go nowhere.

This is because the feature doesn't work on the "native" Windows build, only
the cygwin one, according to
https://stackoverflow.com/questions/68011643/where-is-the-psql-history-file-in-windowss-postgresql

It would be helpful if the official documentation made some mention of this
(or if the feature worked!).

Cheers,


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