Re: errcode redefinition

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: errcode redefinition
Дата
Msg-id 1247.1150407088@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: errcode redefinition  (Andrew Vick <avick@remote-print.com>)
Ответы Re: errcode redefinition  (Andrew Vick <avick@remote-print.com>)
Список pgsql-ports
Andrew Vick <avick@remote-print.com> writes:
> Tom Lane wrote:
>> Why are these drivers trying to include elog.h?  That's a backend-only
>> header.  If the reason is that they're including postgres.h, they should
>> likely be including postgres_fe.h instead.

> That is the case.  I tried switching it to postgres_fe.h, but then I
> got errors about the pg_type structure not being defined.

Where were those coming from?  I'm trying to burrow down to what they're
really after that's forcing them to include headers they shouldn't be
including ...

            regards, tom lane

В списке pgsql-ports по дате отправления:

Предыдущее
От: Andrew Vick
Дата:
Сообщение: Re: errcode redefinition
Следующее
От: Andrew Vick
Дата:
Сообщение: Re: errcode redefinition