Re: pg_sendmail function compile problem - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_sendmail function compile problem
Date
Msg-id 1575.980007855@sss.pgh.pa.us
Whole thread Raw
In response to pg_sendmail function compile problem  ("Joseph" <lters@mrtc.com>)
List pgsql-general
"Joseph" <lters@mrtc.com> writes:
> In file included from mail.c:29:
> /usr/include/pgsql/utils/elog.h:37: parse error before `CritSectionCount'
> /usr/include/pgsql/utils/elog.h:37: warning: data definition has no type or
> storage class

At a guess, this code is neglecting to include postgres.h first.  All
of the internal headers in PG assume that you included postgres.h
beforehand.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: Re: is PG able to handle a >500 GB Database?
Next
From: "Brett W. McCoy"
Date:
Subject: Re: Re: Re: is PG able to handle a >500 GB Database?