Re: PGSQL 7.2.1 compile error on Red Hat 5.2 due to peercred - Mailing list pgsql-ports

From Tom Lane
Subject Re: PGSQL 7.2.1 compile error on Red Hat 5.2 due to peercred
Date
Msg-id 23051.1018882455@sss.pgh.pa.us
Whole thread Raw
In response to PGSQL 7.2.1 compile error on Red Hat 5.2 due to peercred  (Joe Bernstein <joe@sfbooks.com>)
Responses Re: PGSQL 7.2.1 compile error on Red Hat 5.2 due to peercred
List pgsql-ports
Joe Bernstein <joe@sfbooks.com> writes:
> So look:  Is whatever may or may not be wrong with this machine
> concerning peercred so catastrophically wrong that I Must Not attempt
> to run PostgreSQL?

Just disable the code that tries to support peercred; it's certainly
not a necessary feature.  (Change "#if defined(SO_PEERCRED)" to #if 0.)

This does indicate that assuming SO_PEERCRED exists means struct ucred
exists is Wrong.  Probably there should be a direct configure check for
HAVE_STRUCT_UCRED.

            regards, tom lane

pgsql-ports by date:

Previous
From: "renaud diez"
Date:
Subject: problem with postgres and mandrake 8.2
Next
From: Michael Loftis
Date:
Subject: Re: problem with postgres and mandrake 8.2