Re: win2k, service, pg_ctl, popen, etc

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>, '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-21 14:47:00
Message-ID: 40FE81E4.5060203@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

Bruce Momjian wrote:

> The version check is centralized in one place, exec.c, and I don't want
> to have different behaviors on Win32 and Unix if we can help it. Let's
> go with the system() into a temp file.

You know that system() isn't executed synchronously under win32, don't you?

Version resource checking seems much more suitable. Additionally, more
or less every win32 executable or dll should have the version resource.
IMHO a missing resource is an indicator of a win32 novice programmer.

Regards,
Andreas

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Dave Page 2004-07-21 14:58:35 Re: win2k, service, pg_ctl, popen, etc
Previous Message Magnus Hagander 2004-07-21 14:31:57 Re: win2k, service, pg_ctl, popen, etc