pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove old readline API workaround
Date: Tue, 25 Aug 2026 08:15:25 +0000
Message-ID: <E1wymJY-000000021jP-2SVE@gemulon.postgresql.org> (raw)

Remove old readline API workaround

The casting away of const is no longer needed.

rl_readline_name has been const since readline-4.2 (2001), libedit
since
2018 (https://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libedit/readline/readline.h?sortby=date,
rev 1.44)

See also commit 8666cf65ea6 for a similar fix.

Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://www.postgresql.org/message-id/flat/459217ca-3840-4452-8cd1-8f9b47e8d479%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5e1e32c2c6c61c411358ef101acb27db3969d4fb

Modified Files
--------------
src/bin/psql/tab-complete.in.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



Message-ID: <E1wymJY-000000021jP-2SVE@gemulon.postgresql.org>
Permalink:  ../E1wymJY-000000021jP-2SVE@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wymJY-000000021jP-2SVE@gemulon.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-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove old readline API workaround
  In-Reply-To: <E1wymJY-000000021jP-2SVE@gemulon.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