Re: Re: LOCK Fixes/Break on FreeBSD 4.2-STABLE - Mailing list pgsql-hackers

From Alfred Perlstein
Subject Re: Re: LOCK Fixes/Break on FreeBSD 4.2-STABLE
Date
Msg-id 20001205071647.V8051@fw.wintelcom.net
Whole thread Raw
In response to Re: Re: LOCK Fixes/Break on FreeBSD 4.2-STABLE  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
* Tom Lane <tgl@sss.pgh.pa.us> [001205 07:14] wrote:
> Alfred Perlstein <bright@wintelcom.net> writes:
> > Anyhow, to address the problem I've removed struct mount from
> > userland visibility in both FreeBSD 5.x (current) and FreeBSD 4.x
> > (stable).
> 
> That might fix things on your box, but we can hardly rely on it as an
> answer for everyone running FreeBSD :-(.
> 
> Anyway, I've already worked around the problem by rearranging the PG
> headers so that plperl doesn't need to import s_lock.h ...

Well I didn't say it was completely our fault, it's just that we
try pretty hard not to let those types of structs leak into userland
and for us to "steal" something called s_lock from userland, well
that's no good. :)

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


pgsql-hackers by date:

Previous
From: Alfred Perlstein
Date:
Subject: Need help with phys backed shm segments (Postgresql+FreeBSD).
Next
From: Tom Lane
Date:
Subject: Re: Spinlocks may be broken.