Re: Need help with phys backed shm segments (Postgresql+FreeBSD).

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alfred Perlstein <bright(at)wintelcom(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Need help with phys backed shm segments (Postgresql+FreeBSD).
Date: 2000-12-05 16:01:53
Message-ID: 14642.976032113@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alfred Perlstein <bright(at)wintelcom(dot)net> writes:
> No I'm not sure actually. :) I'll look into it further, but I
> was wondering if there was something I could do to debug the
> locks better. I think I'll add some S_MAGIC or something in
> the struct to see if the whole thing is getting clobbered or
> what... If you have any suggestions let me know.

Seems like a plan. In current sources I have moved the SLock struct
declaration out of header files and into spin.c; it doesn't really
need to be known anywhere else. You could probably do the same in
7.0.*, which would greatly simplify changing the struct around to
see what's happening.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Guenter 2000-12-05 16:09:25 Re: Using Threads?
Previous Message Alfred Perlstein 2000-12-05 15:47:13 Re: Need help with phys backed shm segments (Postgresql+FreeBSD).