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

Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets
Date: 2001-08-19 16:40:49
Message-ID: 200108191640.f7JGend24264@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Yes, but I mentioned PEERCRED is new in 7.2 and wasn't widely
> > distributed by Debian, so we should decide which we want first.  Also,
> > let me mention that this could turn out to be a portability headache. 
> 
> Based on your other message, SCM_CREDS will be much more of a
> portability headache than PEERCRED.  All the more reason to prefer
> the latter if available.

Agreed.  Patch attached.  Seems I had socket.h included twice too. Also,
is there a reason fe-auth has the PostgreSQL includes before the system
ones.  

And also, there is #ifdef, but there is no version of #elif for #ifdef,
right?  Nothing like #eldef, so I have to use #elif defined().

-- 
  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-patches by date

Next:From: Tom LaneDate: 2001-08-19 17:56:05
Subject: Re: LIKE indexing
Previous:From: Peter EisentrautDate: 2001-08-19 16:28:26
Subject: LIKE indexing

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