Re: FW: Can't find postgres.h or fmgr.h

From: "Mark Miller" <mark(at)maxpreps(dot)com>
To: <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: FW: Can't find postgres.h or fmgr.h
Date: 2005-04-21 22:35:40
Message-ID: 20050421223829.04FA153B9C@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

Excuse me for being a pest, but I can't seem to find how to compile the
source for windows. I've downloaded MinGW but where can I find how to
compile the source and install it on windows? If I should be posting this
question to the novice list let me know.

Mark

-----Original Message-----
From: John A Meinel [mailto:john(at)arbash-meinel(dot)com]
Sent: Thursday, April 21, 2005 10:20 AM
To: mark(at)maxpreps(dot)com
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: FW: [pgsql-hackers-win32] Can't find postgres.h or fmgr.h

Mark Miller wrote:

>I found a thread here
>http://archives.postgresql.org/pgsql-hackers-win32/2005-03/msg00149.php
>which indicates that the headers aren't even installed in the windows
build.
>How can I install the headers so I can use them. I'm not finding anything
in
>the docs.
>
>By the way, I am on WinXP using Microsoft Visual C++. We are a microsoft
>shop and I am researching migrating from Sql Server to postgresSql, but I
>need to add some functionality to support features we need in order for the
>migration to work.
>
>Regards,
>Mark
>
Well, you need to get the source distribution. One key point to make
sure that your environment is corret to develop backend functions is
that you are able to compile the postgres source.

I believe Visual C++ is not supported for compiling back-end programs.
Clients, etc are fine, but the backend is only supported on MinGW.

What is the specific functionality that you need that cannot be done in
a regular function? In say plpgsql, or pl/perl or pl/python?
Those are probably easier to maintain in the long run.

John
=:->

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Mark Miller 2005-04-21 22:38:50 Re: FW: Can't find postgres.h or fmgr.h
Previous Message Mark Miller 2005-04-21 17:54:42 Re: FW: Can't find postgres.h or fmgr.h