Re: Correct handling of blank/commented lines in PSQL interactive-mode history - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Correct handling of blank/commented lines in PSQL interactive-mode history
Date
Msg-id 202109070028.2aicpqtwzklp@alvherre.pgsql
Whole thread Raw
In response to Re: Correct handling of blank/commented lines in PSQL interactive-mode history  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: Correct handling of blank/commented lines in PSQL interactive-mode history  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Correct handling of blank/commented lines in PSQL interactive-mode history  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2021-Sep-06, Laurenz Albe wrote:

> I agree with Greg that the current behavior is annoying and would
> welcome the change.  This has bothered me before.

It has bothered me too.  I am particularly bothered by the uselessness
that M-# results in -- namely, inserting a # at the start of the buffer.
This is quite useless: in bash, the # starts a comment, so M-# makes the
entry a comment; but in psql it doesn't have that effect.  If somebody
were to make M-# make the buffer a /* ... */ comment, it would become
quite handy.

-- 
Álvaro Herrera           39°49'30"S 73°17'W  —  https://www.EnterpriseDB.com/



pgsql-hackers by date:

Previous
From: "Bossart, Nathan"
Date:
Subject: Re: Estimating HugePages Requirements?
Next
From: Peter Geoghegan
Date:
Subject: Re: The Free Space Map: Problems and Opportunities