Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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                        |
  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

pgsql-patches by date

Next:From: Magnus HaganderDate: 2004-07-24 18:24:50
Subject: Re: Pipe fixes for win32 services
Previous:From: Tom LaneDate: 2004-07-24 18:16:11
Subject: Re: Pipe fixes for win32 services

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group