| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
| Cc: | PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
| Subject: | Re: pg_ctl using START with paths needing quotes |
| Date: | 2004-06-11 17:03:18 |
| Message-ID: | 200406111703.i5BH3IH02484@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers-win32 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2004-06-11 17:07:24 | Re: Compiling libpq with VisualC |
| Previous Message | Bruce Momjian | 2004-06-11 16:47:43 | Re: pg_ctl start broken on windows |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2004-06-11 17:07:24 | Re: Compiling libpq with VisualC |
| Previous Message | Bruce Momjian | 2004-06-11 16:37:31 | Fix for Win32 START |