Re: [HACKERS] pgsql: Add lock matrix to documentation. - Mailing list pgsql-committers

From Bruce Momjian
Subject Re: [HACKERS] pgsql: Add lock matrix to documentation.
Date
Msg-id 200702180130.l1I1Ueb04949@momjian.us
Whole thread Raw
In response to Re: pgsql: Add lock matrix to documentation.  ("Merlin Moncure" <mmoncure@gmail.com>)
List pgsql-committers
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@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

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

pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] pgsql: Add lock matrix to documentation.
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] pgsql: Add lock matrix to documentation.