BUG: psql 18.1 Windows Installer - Readline/libedit support missing in psql.exe.

From: MichaelDBA <MichaelDBA(at)sqlexec(dot)com>
To: support(at)enterprisedb(dot)com, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: BUG: psql 18.1 Windows Installer - Readline/libedit support missing in psql.exe.
Date: 2026-01-19 14:40:40
Message-ID: 0e4926cf-663f-4d35-a169-daf3fdd21f05@sqlexec.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi all,

I have confirmed a regression in the PostgreSQL 18.1 Windows x64
installer. The |psql.exe| binary appears to have been compiled without
|libedit| or |readline| support.

Even when |HISTFILE| is correctly defined in the environment or
|psqlrc.conf|, the application fails to record history.
Running |\s| explicitly returns 'history is not supported by this
installation'. This was verified on a fresh install of Windows 10/11.

|postgres=# \s C:/psql_logs/psql_history|
|history is not supported by this installation|
|postgres=#|As you can see I was testing with different places to put
the history file since it didn't work with the default location,
APPDATA\postgresql.  V17 works fine with the installer.  How can I
report this bug? (edited)

Regards,

Michael Vitale

Browse pgsql-bugs by date

  From Date Subject
Next Message Amit Langote 2026-01-19 17:56:05 Re: BUG #19099: Conditional DELETE from partitioned table with non-updatable partition raises internal error
Previous Message Michael Kröll 2026-01-17 09:03:56 Re: BUG #19373: One backend hanging in AioIoUringExecution blocking other backends