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

From Pavel Stehule
Subject Re: [PATCH] Add support to psql for edit-and-execute-command
Date
Msg-id CAFj8pRCdZ3eSomqc9k_oziTdmvAYM=R=qsZqyR_KJB33oivBYw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Add support to psql for edit-and-execute-command  ("Joe Wildish" <joe@lateraljoin.com>)
List pgsql-hackers


po 18. 5. 2020 v 12:16 odesílatel Joe Wildish <joe@lateraljoin.com> napsal:

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).


it is different method with little bit different usage - both method can be supported


-Joe

pgsql-hackers by date:

Previous
From: "Joe Wildish"
Date:
Subject: Re: [PATCH] Add support to psql for edit-and-execute-command
Next
From: Amit Kapila
Date:
Subject: Re: PATCH: logical_work_mem and logical streaming of largein-progress transactions