Re: Lock structures - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Lock structures
Date
Msg-id 200102231810.NAA15774@candle.pha.pa.us
Whole thread Raw
In response to Re: Lock structures  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Is there one LOCKMETHODCTL for every backend?  I thought there was only
> > one of them.
> >> 
> >> You're right, that line is erroneous; it should read
> >> 
> >> size += MAX_LOCK_METHODS * MAXALIGN(sizeof(LOCKMETHODCTL));
> >> 
> >> Not a significant error but it should be changed for clarity ...
> 
> > I assume the fix should be done in 7.2, not 7.1, right?
> 
> I see no reason to put it off ...

Tom, what about the names?  There is LOCKMETHODCTL, LOCKMETHODTABLE,
and LOCKMODES.   How about LOCKSTYLESHARED, LOCKSTYLE, and leave
LOCKMODES unchanged?

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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Lock structures
Next
From: Bruce Momjian
Date:
Subject: Lock structures