Re: pg_sendmail function compile problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Joseph" <lters(at)mrtc(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_sendmail function compile problem
Date: 2001-01-20 16:24:15
Message-ID: 1575.980007855@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Joseph" <lters(at)mrtc(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Brett W. McCoy 2001-01-20 16:36:41 Re: Re: Re: is PG able to handle a >500 GB Database?
Previous Message Tom Lane 2001-01-20 16:22:01 Re: Re: Re: is PG able to handle a >500 GB Database?