Re: External psql editor

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: External psql editor
Дата
Msg-id ce8ee8c0-cb6b-c114-47be-275730af91de@wi3ck.info
обсуждение исходный текст
Ответ на Re: External psql editor  (Rich Shepard <rshepard@appl-ecosys.com>)
Ответы Re: External psql editor  (Rich Shepard <rshepard@appl-ecosys.com>)
Re: External psql editor  (Mladen Gogala <gogala.mladen@gmail.com>)
Список pgsql-general
On 4/29/22 13:13, Rich Shepard wrote:
>> While in psql, type \e and Enter. You will have the current query buffer
>> in the editor. You can do this at the end of a partial (not yet semicolon
>> terminated) query.
> 
> Can I set it before entering any command or better yet, when I invoke psql?

Not that I know of. \e starts the external editor and you have to save 
and exit that editor to get back to psql in order to execute it. IMHO 
the whole construct has very limited usability.


Regards, Jan



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

Предыдущее
От: Rich Shepard
Дата:
Сообщение: Mail list manager request
Следующее
От: Kris Deugau
Дата:
Сообщение: Re: Mail list manager request