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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Prasad Duggineni" <pduggineni(at)prominencenet(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgres 8.1 compile error in the pg_attribute.h file
Date: 2005-11-11 23:22:44
Message-ID: 22417.1131751364@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Prasad Duggineni" <pduggineni(at)prominencenet(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-11-11 23:24:11 Re: strings
Previous Message Hrishikesh Deshmukh 2005-11-11 22:09:52 Reports and postgres