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

Поиск
Список
Период
Сортировка
От Joe Wildish
Тема Re: [PATCH] Add support to psql for edit-and-execute-command
Дата
Msg-id 43BCAE2D-5921-4740-9B76-A78268D3C780@lateraljoin.com
обсуждение исходный текст
Ответ на Re: [PATCH] Add support to psql for edit-and-execute-command  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: [PATCH] Add support to psql for edit-and-execute-command  (Pavel Stehule <pavel.stehule@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: [PATCH] Add support to psql for edit-and-execute-command
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: [PATCH] Add support to psql for edit-and-execute-command