Re: pg_ctl using START with paths needing quotes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_ctl using START with paths needing quotes
Дата
Msg-id 16657.1086976402@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_ctl using START with paths needing quotes  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: pg_ctl using START with paths needing quotes  (Andrew Dunstan <andrew@dunslane.net>)
Re: pg_ctl using START with paths needing quotes  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
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?

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: Compiling libpq with VisualC
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_ctl using START with paths needing quotes