Re: Lock structures

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: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Lock structures
Date: 2001-02-23 18:10:04
Message-ID: 200102231810.NAA15774@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-02-23 18:23:49 Re: CommitDelay performance improvement
Previous Message Tom Lane 2001-02-23 18:05:24 Re: Lock structures