On Wed, Jul 06, 2005 at 02:51:53PM -0700, Otto Blomqvist wrote:
> After adding miscadmin.h to my source I get "some" errors, shown below. I'm
> sure its something simple like adding a flag or similar, but I'v spent hours
> on this now. Im running Fedora 3 and Postgres 8.0.3. GCC 3.4.3 20050227.
If you're writing server-side code then you should be including
postgres.h before any other headers. See "Writing Code" in the
"C-Language Functions" section of the "Extending SQL" chapter of
the documentation for details.
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/