Re: [PATCH] Add support to psql for edit-and-execute-command

From: "Joe Wildish" <joe(at)lateraljoin(dot)com>
To: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
Cc: "Oleksandr Shulgin" <oleksandr(dot)shulgin(at)zalando(dot)de>, "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Add support to psql for edit-and-execute-command
Date: 2020-05-18 10:16:19
Message-ID: 43BCAE2D-5921-4740-9B76-A78268D3C780@lateraljoin.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2020-05-18 10:25:47 Re: [PATCH] Add support to psql for edit-and-execute-command
Previous Message Pavel Stehule 2020-05-18 10:09:16 Re: [PATCH] Add support to psql for edit-and-execute-command