Re: pg_sendmail function compile problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_sendmail function compile problem
Дата
Msg-id 1575.980007855@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_sendmail function compile problem  ("Joseph" <lters@mrtc.com>)
Список 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 по дате отправления: