From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Joe Wildish <joe(at)lateraljoin(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:25:47 |
Message-ID: | CAFj8pRCdZ3eSomqc9k_oziTdmvAYM=R=qsZqyR_KJB33oivBYw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
po 18. 5. 2020 v 12:16 odesílatel Joe Wildish <joe(at)lateraljoin(dot)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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2020-05-18 10:40:40 | Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions |
Previous Message | Joe Wildish | 2020-05-18 10:16:19 | Re: [PATCH] Add support to psql for edit-and-execute-command |