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 <[email protected]>
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(-)

Reply via email to