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

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: felix(at)passcod(dot)name
Subject: BUG #18721: Documentation for psql does not specify that the history feature doesn't work
Date: 2024-11-23 03:45:49
Message-ID: 18721-f2f262c937eb6621@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 18721
Logged by: Félix Saparelli
Email address: felix(at)passcod(dot)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,

Browse pgsql-bugs by date

  From Date Subject
Next Message Thomas Munro 2024-11-23 05:10:17 Re: Detection of hadware feature => please do not use signal
Previous Message Tom Lane 2024-11-23 01:39:55 Re: Detection of hadware feature => please do not use signal