Re: pg_ctl using START with paths needing quotes - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: pg_ctl using START with paths needing quotes
Date
Msg-id 200406111703.i5BH3IH02484@candle.pha.pa.us
Whole thread Raw
In response to Re: pg_ctl using START with paths needing quotes  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-patches
Andrew Dunstan wrote:
>
> 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.
> . the command should be preceded by '@' to suppress echoing
> . the whole command, including redirections should go inside the .bat
> file, so that pg_ctl just issues 'start /b foo.bat'
>
> There are still things to clean up in pg_ctl, e.g. its handling of
> relative paths to the data dir.

Hack removed.

--
  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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Fix for Win32 START
Next
From: Bruce Momjian
Date:
Subject: Re: Compiling libpq with VisualC