On 07.09.21 21:16, Tom Lane wrote:
> [ this is a digression from the main point of the thread, but ... ]
>
> Alvaro Herrera <alvherre@alvh.no-ip.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