Re: psql and readline comments

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: psql and readline comments
Дата
Msg-id 20190129230214.GD25187@momjian.us
обсуждение исходный текст
Ответ на Re: psql and readline comments  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Ответы Re: psql and readline comments  (Дилян Палаузов <dpa-postgres@aegee.org>)
Список pgsql-bugs
On Tue, Jan 29, 2019 at 04:59:40AM +0000, Andrew Gierth wrote:
> >>>>> "Bruce" == Bruce Momjian <bruce@momjian.us> writes:
> 
>  Bruce> Uh, bind as a key? Does the patch have any effect then?
> 
> As I said, libedit does not bind M-# by default, and has no equivalent
> to readline's comment-begin variable. I have no idea what the patch
> would do when linked against libedit without actually trying it out
> (which I have not done).
> 
>  Bruce> If not, maybe we should just do this for libreadline.
> 
> Bear in mind that for licensing reasons, some package builds build psql
> against libedit but then wedge readline in at runtime using LD_PRELOAD.
> So doing things differently at compile time based on whether it's
> libedit or readline will not work well with that.

Seems like adding this would be more trouble than it is worth then.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +


В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Saul, Jean Paolo"
Дата:
Сообщение: Re: BUG #15609: synchronous_commit=off insert performance regressionwith secondary indexes
Следующее
От: David Rowley
Дата:
Сообщение: Re: BUG #15610: Performance problem of PostgreSQL 11.1 Windowsversion (EDB created version)