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

From Tom Lane
Subject Re: psql \e broken again
Date
Msg-id 10051.1100458527@sss.pgh.pa.us
Whole thread Raw
In response to psql \e broken again  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: psql \e broken again  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> A remember specifically that I somewhat recently fixed psql to accept 
> editors with arguments, say EDITOR="pico -t".  This was apparently 
> broken again during some Windows-related reshuffling.  It now takes the 
> editor as one quoted string rather than possibly several shell tokens.  
> Could this please be fixed?

I think the rationale was to allow paths containing spaces, which is
a pretty serious problem on Windows.  Seems like we have two basic
options:

1. Quote only on Windows.

2. Expect user to put quotes in the EDITOR value if it contains a
space-containing path.

I don't much care for either of these :-(.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: psql \e broken again
Next
From: Peter Eisentraut
Date:
Subject: Re: psql \e broken again