Re: pg_ctl using START with paths needing quotes

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: pg_ctl using START with paths needing quotes
Date: 2004-06-11 17:59:16
Message-ID: 40C9F2F4.9010702@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-patches

Tom Lane wrote:

>Andrew Dunstan <andrew(at)dunslane(dot)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?
>
>
>

Yes. you're right. The hack is gone now so it's moot.

cheers

andrew

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Bruce Momjian 2004-06-11 18:03:28 Re: [PATCHES] Compiling libpq with VisualC
Previous Message Tom Lane 2004-06-11 17:53:22 Re: pg_ctl using START with paths needing quotes

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-06-11 18:03:28 Re: [PATCHES] Compiling libpq with VisualC
Previous Message Tom Lane 2004-06-11 17:53:22 Re: pg_ctl using START with paths needing quotes