Re: pg_ctl using START with paths needing quotes

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Fix for Win32 START
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Compiling libpq with VisualC