Re: psql history and "-- lines"

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Дилян Палаузов <dpa-postgres(at)aegee(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: psql history and "-- lines"
Date: 2017-05-15 15:26:08
Message-ID: 0afcbc3f-8c1c-c576-824a-5cc02e5a81e5@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 5/6/17 19:17, Tom Lane wrote:
>> + rl_variable_bind("comment-begin", "--");
> Interesting thought, but IIUC that's a setting that would be better left
> to the user's ~/.inputrc, or might indeed override something he's put
> there. I'm also dubious how well it works across all the versions of
> readline and libedit that are out there.

Hmm, this variable appears with other customization settings, but it's
clearly something that is specific to the syntax you are typing in, so
pre-setting it makes sense. I think this is something we can play with
in PG11.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2017-05-15 15:40:07 Re: BUG #14637: Tests fail with pl_PL.UTF-8 locale
Previous Message David G. Johnston 2017-05-15 14:58:16 Re: BUG #14655: PostgreSQL 9.6 not compatible with QTS latest release