Re: psql \! WIN32 cleanup - Mailing list pgsql-patches

From Tom Lane
Subject Re: psql \! WIN32 cleanup
Date
Msg-id 26227.1099719055@sss.pgh.pa.us
Whole thread Raw
In response to psql \! WIN32 cleanup  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: psql \! WIN32 cleanup  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> The attached applied patch tests for COMSPEC in the right place and
> supplies a reasonable shell default on Win32.

> + #define DEFAULT_SHELL "c:/windows/system32/cmd.exe"

Is it really a good idea to assume that the Windows installation is on
drive C: ?

(This is an honest question, not a rhetorical one.  I dunno whether
inserting the C: is better than leaving it off.  I can think of cases
where either way will break, but I'm unsure what's most likely in
practice.)

            regards, tom lane

pgsql-patches by date:

Previous
From: Alvaro Herrera
Date:
Subject: ON COMMIT and foreign keys
Next
From: Tom Lane
Date:
Subject: Re: ON COMMIT and foreign keys