pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: felix@passcod.name
Subject: BUG #18721: Documentation for psql does not specify that the history feature doesn't work
Date: Sat, 23 Nov 2024 03:45:49 +0000
Message-ID: <18721-f2f262c937eb6621@postgresql.org> (raw)

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,



Message-ID: <18721-f2f262c937eb6621@postgresql.org>
Permalink:  ../18721-f2f262c937eb6621@postgresql.org/
Also on:    postgresql.org/message-id/18721-f2f262c937eb6621@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, felix@passcod.name
  Subject: Re: BUG #18721: Documentation for psql does not specify that the history feature doesn't work
  In-Reply-To: <18721-f2f262c937eb6621@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox