Re: [HACKERS] pgsql: Add lock matrix to documentation.

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-committers(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] pgsql: Add lock matrix to documentation.
Date: 2007-02-18 01:30:40
Message-ID: 200702180130.l1I1Ueb04949@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Merlin Moncure wrote:
> > > This needs some revisions. The table needs to be mentioned somewhere in the
> > > text, so the reader knows when or why to refer to it. Also, the cryptic
> > > abbreviations need to be expanded or explained. And then the concept of
> > > lock "compatibility", as the table puts it, is not used anywhere else in the
> > > documentation. The table should be put in terms of conflicts instead.
> > >
> >
> > Another version with expanded abbreviations is
> > http://mira.sai.msu.su/~megera/pgsql/lockmatrix/c2.html, if remove
> > UPDATE EXCLUSIVE.
> >
> > While compatibility matrix is a commonly accepted termin, I agree, that
> > using conficts would be better in context of our docs.
>
> How about changing 'current lock mode' to 'opposing lock mode'?
> 'current' kind of suggests that you are escalating your own lock.

Not sure how you can say requested and opposing --- they seems odd
together. I am still open to new working though:

http://momjian.us/main/writings/pgsql/sgml/explicit-locking.html#TABLE-LOCK-COMPATIBILITY

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2007-02-18 01:30:54 Re: [HACKERS] pgsql: Add lock matrix to documentation.
Previous Message Bruce Momjian 2007-02-18 01:29:59 Re: [HACKERS] pgsql: Add lock matrix to documentation.

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-02-18 01:30:54 Re: [HACKERS] pgsql: Add lock matrix to documentation.
Previous Message Bruce Momjian 2007-02-18 01:29:59 Re: [HACKERS] pgsql: Add lock matrix to documentation.