I've tried updated libreadline from Daniel without success.
postgresql-client with libedit preferred (|--with-libedit-preferred|)
also does not help. Multibyte symbols backspaced correctly, but they
miss in the command sent to the server and in the history.
postgres=# select 'ошибка';
?column?
----------
(1 row)
12.12.2022 14:05, Stuart Henderson пишет:
On 2022/12/12 02:37, Anton Kasimov wrote:
Is it possible to change postgresql-client to compile with readline from
the ports?
libreadline is, unusually for a library, licensed under GPL not LGPL.
So IIUC that would change the license of the produced package to GPLv3
which is at least a bit distasteful (and might cause actual problems for
some users..) I think we would also need to then check other packages
linked to postgresql for license compatibility, as not everything can be
combined with GPLv3.
--
Anton Kasimov