Re: psql's EDITOR behavior on Windows - Mailing list pgsql-hackers

From Tom Lane
Subject Re: psql's EDITOR behavior on Windows
Date
Msg-id 2806.1576680192@sss.pgh.pa.us
Whole thread Raw
In response to psql's EDITOR behavior on Windows  (Pavlo Golub <pavlo.golub@cybertec.at>)
Responses Re: psql's EDITOR behavior on Windows
List pgsql-hackers
Pavlo Golub <pavlo.golub@cybertec.at> 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, I'm not sure we should change
this to support an editor that can't be made to work without special
command line switches.  We're likely to make more people unhappy
than happy ... especially if it's then impossible to set the variable
so that it works with both older and newer psql's.

            regards, tom lane



pgsql-hackers by date:

Previous
From: "Hamlin, Garick L"
Date:
Subject: Re: Unix-domain socket support on Windows
Next
From: Tom Lane
Date:
Subject: Re: psql's EDITOR behavior on Windows