Re: Port for Microsoft Services for Unix (SFU) or SUA

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: rovero <rovero(at)sonalysts(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Port for Microsoft Services for Unix (SFU) or SUA
Date: 2009-12-29 11:42:30
Message-ID: 9837222c0912290342q30bf1ae1vb75ee44ea249b9a7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2009/12/28 Josh Rovero <rovero(at)sonalysts(dot)com>:
> Has anyone built postgresql (or just libpq.a) on Windows SFU/SUA?
> Would prefer to not reinvent any wheels....

Not that I know of.

> We have a number of Unix/Linux applications that are also compiled
> under Microsoft Windows SFU 3.5.  We need to have a SFU-compatible
> libpq.a, not a complete install.  The regular Unix/Linux or
> Win32 postgresql database runs fine, these apps just need to connect.

Can't you use the native win32 libpq.dll? IIRC I read somewhere that
it's possible, at least in fairly recent versions, to call regular
Win32 DLLs from an interix process. (But I can't recall where I read
that...)

If that can be done, it's most likely the by far easiest way...

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Rovero 2009-12-29 12:56:31 Re: Port for Microsoft Services for Unix (SFU) or SUA
Previous Message Andres Freund 2009-12-29 11:13:21 Re: [HACKERS] Faster CREATE DATABASE by delaying fsync (was 8.4.1 ubuntu karmic slow createdb)