Re: Pipe fixes for win32 services

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Magnus Hagander <mha(at)sollentuna(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Pipe fixes for win32 services
Date: 2004-07-24 18:18:13
Message-ID: 200407241818.i6OIIDs24536@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > This needs to be applied soon so the installer can be tested.
>
> I can't speak to the details of the Windows process-launch code,
> but it looked okay to me otherwise.
>
> One point: if I understood correctly, this is necessary only for
> Windows 2000, because we've already blown off the thought of
> supporting any older Windows versions, no? If we later decide
> we can't support W2K either, this would be a pretty large chunk
> of code that we could pull out. Please make sure it's clearly
> labeled as "useful only as long as we support Windows 2000".

Yep, I had him add this comment:

+ * The runtime librarys popen() on win32 does not work when being
+ * called from a service when running on windows <= 2000, because
+ * there is no stdin/stdout/stderr.

I think we support NT too, hence the <= 2000.

--
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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2004-07-24 18:24:50 Re: Pipe fixes for win32 services
Previous Message Tom Lane 2004-07-24 18:16:11 Re: Pipe fixes for win32 services