Re: BUG #3983: pgxs files still missing in win32 install (8.3.1) - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: BUG #3983: pgxs files still missing in win32 install (8.3.1)
Date
Msg-id 20080407085429.662fcfae@mha-laptop
Whole thread Raw
In response to Re: BUG #3983: pgxs files still missing in win32 install (8.3.1)  (Joe Conway <mail@joeconway.com>)
Responses Re: BUG #3983: pgxs files still missing in win32 install (8.3.1)
List pgsql-bugs
Joe Conway wrote:
> Dave Page wrote:
> > On Tue, Mar 18, 2008 at 12:47 AM, Alvaro Herrera
> > <alvherre@commandprompt.com> wrote:
> >> Mike Leahy wrote:
> >>  > Is this actually a bug, or is there a specific reason that the
> >>  > pgxs files omitted in the windows installer?  I noticed the
> >>  > 8.3.1 installer has been posted (as the updates had appeared on
> >>  > my linux machines). From what I can tell, the 8.3.1 version of
> >>  > the win32 installer is still missing pgxs.mk and any related
> >>  > files.
> >>
> >>  It is a bug in the Win32 installer.  Please report it on the Win32
> >>  installer project, http://pgfoundry.org/projects/pginstaller/
> >
> > It's not an installer bug - pgxs doesn't make sense to the VC++
> > PostgreSLQ build because we don't use (or configure) any of the
> > build system on which it relies.
> >
> > I wonder if we can either build whatever is needed to make pgxs work
> > (I'm guessing Makefile.global and more) when we run the perl scripts
> > that generate the project files, or come up with a VC++ alternative
> > to pgxs.
>
> I'm finally getting back to this, and finding that plr.dll built
> against a MinGW compiled postgres will not load in running cluster
> built with VC++ (i.e. the standard binary install). Is that to be
> expected? If so, can you give me pointers (either direct guidance or
> literal URLs) on how to build postgres and related extensions with
> VC++?

In general, mingw built modules should load just fine in msvc built
postgres. AFAIK, that's how PostGIS does it for 8.3 (though I know Mark
is working on getting MSVC build support for them). Debugging may be a
bit harder (since they use different kinds of debug symbols - postgres
uses Windows style and mingw uses mingw style), but it should certainly
load.

What trouble exactly are you seeing?

//Magnus

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: CREATEDB and CREATEROLE privileges cannot vacuum pg_authid and others
Next
From: ""
Date:
Subject: BUG #4096: PG 8.3.1. confused about remaining disk space