From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com> |
Cc: | "'Magnus Hagander'" <mha(at)sollentuna(dot)net>, pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: win2k, service, pg_ctl, popen, etc |
Date: | 2004-07-22 11:47:03 |
Message-ID: | 200407221147.i6MBl3L23158@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(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 | Alexander Cohen | 2004-07-23 16:32:53 | postgresql.conf |
Previous Message | Darko Prenosil | 2004-07-22 09:42:09 | Re: postgres win32 sources |