Re: C functions under windows

From: "Magnus Hagander" <magnus(at)hagander(dot)net>
To: islheg(at)gmail(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: C functions under windows
Date: 2007-05-03 05:46:58
Message-ID: 20070503055117.1274BDCC8DB@svr2.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Are you building with the same compiler as the backend was built with? If you're using the binary distribution that means mingw unless you're testing the
pre-beta snapshot Dave uploaded a few days ago.

/Magnus

------- Original message -------
From: Islam Hegazy <islheg(at)gmail(dot)com>
Sent: 5-2-'07, 19:30

> Hi all
>
> I have postgresql server installed on a windows machine and I want to retrieve data using C functions. I followed the steps in the documentation but it
didn't work for windows. I created a .dll projects for my functions but postgres.h calls .h files that I can't find on the windows machine like <strings.h>. I
tested my functions on another server installed on a linix machine and it worked correctly. So the problem appears to be in the include files under windows.
>
> Any idea how to solve this problem...
>
> Regards
> Islam Hegazy

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2007-05-03 07:00:40 Re: Utility of OIDs in postgres
Previous Message Tom Lane 2007-05-03 04:59:40 Re: pgsql and Mac OS X