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

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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Joe Bernstein <joe(at)postilion(dot)org>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: PGSQL 7.2.1 compile error on Red Hat 5.2 due to peercred
Date: 2002-04-16 00:43:39
Message-ID: 200204160043.g3G0hdr14937@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-ports
Joe Bernstein wrote:
> (Apologies to Bruce Momjian for double-sending.  If it's a real
> annoyance, tell me so and I won't again; but I'm not subscribed
> to pgsql-ports so not sure...)
> 
> On Mon, Apr 15, 2002 at 03:40:36PM -0400, Bruce Momjian wrote:
> 
> > Tom Lane wrote:
> 
> > > 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.)
> 
> Thanks!  Duh!
> 
> (I recognise Tom Lane's name, but will wait to do this, partly to do my
> taxes, and partly to see if anyone else screams "NO!  NO!"  But it sure
> *looks* like that's all I need, so thanks!)

I added the SO_PEERCRED code.  It is only enabled when you use 'local'
and 'ident' in pg_hba.conf.  If you don't enable that, removing this has
no effect, and it is not enabled by default.  If you do enable it, it
will not work.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-ports by date

Next:From: Joe BernsteinDate: 2002-04-16 01:26:00
Subject: Re: PGSQL 7.2.1 compile error on Red Hat 5.2 due to peercred
Previous:From: Bruce MomjianDate: 2002-04-15 19:40:36
Subject: Re: PGSQL 7.2.1 compile error on Red Hat 5.2 due to peercred

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