Re: win2k, service, pg_ctl, popen, etc

Andreas Pflug <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
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

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.