Re: PGSQL 7.2.1 compile error on Red Hat 5.2 due to peercred

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Bernstein <joe(at)sfbooks(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: PGSQL 7.2.1 compile error on Red Hat 5.2 due to peercred
Date: 2002-04-15 14:54:15
Message-ID: 23051.1018882455@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Joe Bernstein <joe(at)sfbooks(dot)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

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Michael Loftis 2002-04-15 15:18:32 Re: problem with postgres and mandrake 8.2
Previous Message Luciano Miguel Ferreira Rocha 2002-04-14 20:00:18 Re: Redhat 7.2.93 performance (was:Re: PostgreSQL 7.2.1-2PGDG RPMs available for RedHat-skipjack 7.2.93 and RedHat 6.2/SPARC)