From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Дилян Палаузов <dpa-postgres@aegee.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: psql history and "-- lines"
Date: Mon, 15 May 2017 11:26:08 -0400
Message-ID: <0afcbc3f-8c1c-c576-824a-5cc02e5a81e5@2ndquadrant.com> (raw)
In-Reply-To: <7127.1494112662@sss.pgh.pa.us>
References: <48b3a5ac-d219-6568-6751-260b1387bc37@aegee.org>
<CAKFQuwZ8f9smjWr97qFW+scCg+bydiKHHpEO6gs6Pq=DQxWoaA@mail.gmail.com>
<19006.1494033923@sss.pgh.pa.us>
<af1bad5f-56c6-485d-22ba-5bb282d8c137@aegee.org>
<7127.1494112662@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, tgl@sss.pgh.pa.us, dpa-postgres@aegee.org
Subject: Re: psql history and "-- lines"
In-Reply-To: <0afcbc3f-8c1c-c576-824a-5cc02e5a81e5@2ndquadrant.com>
References: <48b3a5ac-d219-6568-6751-260b1387bc37@aegee.org> <CAKFQuwZ8f9smjWr97qFW+scCg+bydiKHHpEO6gs6Pq=DQxWoaA@mail.gmail.com> <19006.1494033923@sss.pgh.pa.us> <af1bad5f-56c6-485d-22ba-5bb282d8c137@aegee.org> <7127.1494112662@sss.pgh.pa.us> <0afcbc3f-8c1c-c576-824a-5cc02e5a81e5@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox