From: | Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
Cc: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Greg Nancarrow <gregn4422(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Correct handling of blank/commented lines in PSQL interactive-mode history |
Date: | 2021-09-17 09:11:35 |
Message-ID: | a9127baa-dc0d-faf9-797f-e798735830c7@enterprisedb.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 07.09.21 21:16, Tom Lane wrote:
> [ this is a digression from the main point of the thread, but ... ]
>
> Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
>> I am particularly bothered by the uselessness
>> that M-# results in -- namely, inserting a # at the start of the buffer.
>
> Fixing that might be as simple as the attached. I've not beat on
> it hard though.
I see this in my .inputrc, although I don't remember when/how I put it
there:
$if psql
set comment-begin --
set expand-tilde on
$endif
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2021-09-17 09:17:37 | Re: Logical replication keepalive flood |
Previous Message | gkokolatos | 2021-09-17 08:12:42 | Re: Teach pg_receivewal to use lz4 compression |