Re: C++ User-defined functions

From: 3dmashup <3dmashup(at)comcast(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: C++ User-defined functions
Date: 2010-08-11 15:28:07
Message-ID: 1281540487156-2472055.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


This information is correct the header file libintl.h is NOT included in
the binary distro.
For a workaround, you can create an empty libintl.h file in local header
directory and add that dir to the include path.

When compilinga server side C function with VS2010 or VS2005

The struct redefiniition is due to itimerval being defined both in

include/port/win32.h

and

include/pg_config_os.h

IS this just a matter of getting the order of header includes right?
Or should both files be included?
Or should a struct be defined in both place?

Anyway commenting out the struct defintion in pg_config_os.h works as a
quick fix hack..

It would be good to know what the right approach is.

Cheers Tim
--
View this message in context: http://postgresql.1045698.n5.nabble.com/C-User-defined-functions-tp1911904p2472055.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Frank Church 2010-08-11 15:33:48 Is it possible to change password though pg_auth?
Previous Message Greg Smith 2010-08-11 15:28:04 Re: MySQL versus Postgres