Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

			regards, tom lane

In response to


pgsql-ports by date

Next:From: Michael LoftisDate: 2002-04-15 15:18:32
Subject: Re: problem with postgres and mandrake 8.2
Previous:From: Luciano Miguel Ferreira RochaDate: 2002-04-14 20:00:18
Subject: 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)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group