Re: psql and readline comments - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: psql and readline comments
Date
Msg-id 20190129230214.GD25187@momjian.us
Whole thread Raw
In response to Re: psql and readline comments  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Responses Re: psql and readline comments
List 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 by date:

Previous
From: "Saul, Jean Paolo"
Date:
Subject: Re: BUG #15609: synchronous_commit=off insert performance regressionwith secondary indexes
Next
From: David Rowley
Date:
Subject: Re: BUG #15610: Performance problem of PostgreSQL 11.1 Windowsversion (EDB created version)