Re: postgres 8.1 compile error in the pg_attribute.h file

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postgres 8.1 compile error in the pg_attribute.h file
Дата
Msg-id 22417.1131751364@sss.pgh.pa.us
обсуждение исходный текст
Ответ на postgres 8.1 compile error in the pg_attribute.h file  ("Prasad Duggineni" <pduggineni@prominencenet.com>)
Список pgsql-general
"Prasad Duggineni" <pduggineni@prominencenet.com> writes:
> I am getting the compile error in the =
> /usr/include/pgsql/server/catalog/pg_attribute.h after installing the =
> postgres8.1.

> /usr/include/pgsql/server/catalog/pg_attribute.h:44:26: macro "CATALOG" =
> passed 2 arguments, but takes just 1

CATALOG() used to take 1 argument before 8.1, but now it takes 2.
Apparently your compile is managing to include some unholy combination
of 8.1 and pre-8.1 Postgres header files (specifically, it's picking up
an obsolete copy of postgres.h from somewhere).  Check include paths and
so forth.

            regards, tom lane

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

Предыдущее
От: Hrishikesh Deshmukh
Дата:
Сообщение: Reports and postgres
Следующее
От: Tom Lane
Дата:
Сообщение: Re: strings