Re: win2k, service, pg_ctl, popen, etc

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: win2k, service, pg_ctl, popen, etc
Дата
Msg-id 200407221147.i6MBl3L23158@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: win2k, service, pg_ctl, popen, etc  (Claudio Natoli <claudio.natoli@memetrics.com>)
Список pgsql-hackers-win32
Claudio Natoli wrote:
>
> > It all happens in exec.c.  The test is simple in Unix.  If it isn't
> > simple in Win32, then we need to work harder to make it happen.
>
> Are we amenable to replacing this popen call with one to CreateProcess with
> i/o handles redirected (as per the STARTUPINFO argument), or do we want to
> concentrate on a common *nix/win32 solution?

I think CreateProcess() is fine.  I can't think of another way to do it.
At least it will be isolated in exec.c.

--
  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-hackers-win32 по дате отправления:

Предыдущее
От: Darko Prenosil
Дата:
Сообщение: Re: postgres win32 sources
Следующее
От: Alexander Cohen
Дата:
Сообщение: postgresql.conf