From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Дилян Палаузов <dpa-postgres(at)aegee(dot)org> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: psql and readline comments |
Date: | 2019-01-18 08:18:09 |
Message-ID: | 82eab8ea-5d9d-efab-dcc8-d7713d2b0645@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On 14/01/2019 16:59, Alvaro Herrera wrote:
> I agree -- it doesn't make sense to treat the insert-comment command as
> inserting a #, which is not a comment for psql. I use meta-# often in
> bash and I'm never happy to have to resort to manually prepending "--"
> in psql in order to make the current line a comment instead.
I have found
rl_variable_bind("comment-begin",";");
in the clisp code, so it seems it's not unheard of to do this sort of thing.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | PG Bug reporting form | 2019-01-18 15:31:25 | BUG #15598: PostgreSQL Error Code is not reported when connection terminated due to idle-in-transaction timeout |
Previous Message | Jadhav, Manadeep (BHGE) | 2019-01-18 03:47:53 | Issue while non-english character in userid and password |