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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
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
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 13.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-08-19 17:56:05 | Re: LIKE indexing |
Previous Message | Peter Eisentraut | 2001-08-19 16:28:26 | LIKE indexing |