Re: [PATCH] Add support to psql for edit-and-execute-command - Mailing list pgsql-hackers

From Joe Wildish
Subject Re: [PATCH] Add support to psql for edit-and-execute-command
Date
Msg-id 43BCAE2D-5921-4740-9B76-A78268D3C780@lateraljoin.com
Whole thread Raw
In response to Re: [PATCH] Add support to psql for edit-and-execute-command  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: [PATCH] Add support to psql for edit-and-execute-command
List pgsql-hackers

On 18 May 2020, at 11:09, Pavel Stehule wrote:

\e is working with not empty line too.You can check

select 1\e

Your patch just save skip on end line and \e

Personally I think so it is good idea

Thanks. I did not realise that \e at the end of a line would edit that line. (although you do need to remove the terminator I notice).

-Joe

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: [PATCH] Add support to psql for edit-and-execute-command
Next
From: Pavel Stehule
Date:
Subject: Re: [PATCH] Add support to psql for edit-and-execute-command