Re: psql \e broken again - Mailing list pgsql-hackers

From Zeugswetter Andreas DAZ SD
Subject Re: psql \e broken again
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA40184D229@m0114.s-mxs.net
Whole thread Raw
In response to psql \e broken again  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
> We could maybe compromise with (again, for Windows only) a policy like
> "double-quote unless the value already contains at least one
> double-quote".  This should work conveniently for everybody except the
> user who wants EDITOR='gvim.exe -y' on Windows; he'll have to add
> some useless-looking double quotes a la EDITOR='"gvim.exe" -y'.

Single quotes don't work on Windows (tried with %EDITOR% x.txt). I think we
should not worry too much since the user could use the "good old"
EDITOR=C:/PROGRA~1/vim/vim63/gvim.exe -y syntax on win if all else fails.

Andreas


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: psql \e broken again
Next
From: Simon Riggs
Date:
Subject: Re: Database reverse engineering