Re: postgres 8.1 compile error in the pg_attribute.h file - Mailing list pgsql-general

From Tom Lane
Subject Re: postgres 8.1 compile error in the pg_attribute.h file
Date
Msg-id 22417.1131751364@sss.pgh.pa.us
Whole thread Raw
In response to postgres 8.1 compile error in the pg_attribute.h file  ("Prasad Duggineni" <pduggineni@prominencenet.com>)
List 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 by date:

Previous
From: Hrishikesh Deshmukh
Date:
Subject: Reports and postgres
Next
From: Tom Lane
Date:
Subject: Re: strings