Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
> > Bruce Momjian wrote:
> >> This applied patch changes the way pg_ctl starts on Win32.
> >>
> >> Using START, it is not possible to quote the executable name, who's
> >> directory might have spaces:
> >
> > This is a really ugly hack (I take the blame since I gave Bruce the
> > idea). There are a few things to note:
>
> > . the .bat file should probably be created in the data dir - that's
> > about the only place that we should be guaranteed we can write.
>
> In that case, haven't we simply moved the spaces problem from the
> executable directory to the data directory?
Yep. That code is all gone now that we have the right fix, use:
START "" "executable"
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073