Re: psql \e broken again

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql \e broken again
Дата
Msg-id 23701.1100620692@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: psql \e broken again  ("Bort, Paul" <pbort@tmwsystems.com>)
Список pgsql-hackers
"Bort, Paul" <pbort@tmwsystems.com> writes:
> I like Kevin Brown's suggestion of writing out a temporary .txt file and
> 'executing' it. It will follow the principle of least suprise for Windows
> users.

Note that the current default behavior (assuming you've not set EDITOR)
is "vi foo.txt" which is quite unlikely to be helpful to a Windows user.
I'm not sure we need to do the "execute a textfile" bit, but at the very
least DEFAULT_EDITOR should probably be "notepad.exe" on Windows.
        regards, tom lane


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

Предыдущее
От: "Bort, Paul"
Дата:
Сообщение: Re: psql \e broken again
Следующее
От: "Zeugswetter Andreas DAZ SD"
Дата:
Сообщение: Re: psql \e broken again