Re: Adding miscadmin.h generates errors ? - Mailing list pgsql-general

From Michael Fuhr
Subject Re: Adding miscadmin.h generates errors ?
Date
Msg-id 20050706221618.GA43769@winnie.fuhr.org
Whole thread Raw
In response to Adding miscadmin.h generates errors ?  ("Otto Blomqvist" <o.blomqvist@secomintl.com>)
List pgsql-general
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/

pgsql-general by date:

Previous
From: felix@crowfix.com
Date:
Subject: Re: 7.3.2 closing connections, sometimes
Next
From: Alvaro Herrera
Date:
Subject: Re: Adding miscadmin.h generates errors ?