Re: psql's EDITOR behavior on Windows

2019-12-18 Thread Pavlo Golub
On Wed, Dec 18, 2019 at 4:11 PM Tom Lane wrote: > > I wrote: > > Pavlo Golub writes: > >> I cannot find the reason why EDITOR value on Windows is quoted. > > > The comment you quoted explains it: apparently people expect > > paths-with-spaces to work in that value without any manual quoting. > >

Re: psql's EDITOR behavior on Windows

2019-12-18 Thread Tom Lane
I wrote: > Pavlo Golub writes: >> I cannot find the reason why EDITOR value on Windows is quoted. > The comment you quoted explains it: apparently people expect > paths-with-spaces to work in that value without any manual quoting. Actually, after digging in the git history and archives, the curr

Re: psql's EDITOR behavior on Windows

2019-12-18 Thread Tom Lane
Pavlo Golub writes: > I cannot find the reason why EDITOR value on Windows is quoted. The comment you quoted explains it: apparently people expect paths-with-spaces to work in that value without any manual quoting. > One may force quote env var if he wants to. Given the lack of prior complaints