Re: Adding miscadmin.h generates errors ?

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Otto Blomqvist <o(dot)blomqvist(at)secomintl(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Adding miscadmin.h generates errors ?
Date: 2005-07-06 22:16:18
Message-ID: 20050706221618.GA43769@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2005-07-06 22:19:21 Re: Adding miscadmin.h generates errors ?
Previous Message felix 2005-07-06 22:03:24 Re: 7.3.2 closing connections, sometimes