Re: Port for Microsoft Services for Unix (SFU) or SUA - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Port for Microsoft Services for Unix (SFU) or SUA
Date
Msg-id 9837222c0912290342q30bf1ae1vb75ee44ea249b9a7@mail.gmail.com
Whole thread Raw
In response to Port for Microsoft Services for Unix (SFU) or SUA  (Josh Rovero <rovero@sonalysts.com>)
Responses Re: Port for Microsoft Services for Unix (SFU) or SUA  (Josh Rovero <rovero@sonalysts.com>)
List pgsql-hackers
2009/12/28 Josh Rovero <rovero@sonalysts.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 HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Faster CREATE DATABASE by delaying fsync (was 8.4.1 ubuntu karmic slow createdb)
Next
From: Josh Rovero
Date:
Subject: Re: Port for Microsoft Services for Unix (SFU) or SUA