Re: Confusing behavior of psql's \e

Поиск
Список
Период
Сортировка
От Chapman Flack
Тема Re: Confusing behavior of psql's \e
Дата
Msg-id 5FC66957.5000001@anastigmatix.net
обсуждение исходный текст
Ответ на Confusing behavior of psql's \e  (Laurenz Albe <laurenz.albe@cybertec.at>)
Ответы Re: Confusing behavior of psql's \e  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-hackers
On 11/30/20 22:38, Laurenz Albe wrote:

> I have been annoyed about this myself, and I have heard other prople
> complain about it, so I propose to clear the query buffer if the
> editor exits without modifying the file.

Or how about keeping the query buffer content unchanged, but not
executing it? Then it's still there if you have another idea about
editing it. It's easy enough to \r if you really want it gone.

One downside I can foresee is that I could form a habit of doing
something that would be safe in psql version x but would bite me
one day if I'm in psql version x-- for some reason.

Regards,
-Chap



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dilip Kumar
Дата:
Сообщение: Re: [HACKERS] Custom compression methods
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: Improving spin-lock implementation on ARM.