BUG #18721: Documentation for psql does not specify that the history feature doesn't work - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #18721: Documentation for psql does not specify that the history feature doesn't work
Date
Msg-id 18721-f2f262c937eb6621@postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Detection of hadware feature => please do not use signal
Next
From: Thomas Munro
Date:
Subject: Re: Detection of hadware feature => please do not use signal