minor change on comments on lock.h

From: "Walter Cruz" <walter(dot)php(at)gmail(dot)com>
To: "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: minor change on comments on lock.h
Date: 2006-10-05 03:32:26
Message-ID: 32cabba0610042032j24fd3463sa699aad0c57774cd@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

To match the description on
http://momjian.us/main/writings/pgsql/sgml/explicit-locking.html

*** ../../include/storage/lock.h.orig 2006-10-05 00:25:06.000000000 -0300
--- ../../include/storage/lock.h 2006-10-05 00:31:16.000000000 -0300
***************
*** 109,116 ****
#define AccessShareLock 1 /* SELECT */
#define RowShareLock 2 /* SELECT FOR UPDATE/FOR SHARE */
#define RowExclusiveLock 3 /* INSERT, UPDATE, DELETE */
! #define ShareUpdateExclusiveLock 4 /* VACUUM (non-FULL) */
! #define ShareLock 5 /* CREATE INDEX */
#define ShareRowExclusiveLock 6 /* like EXCLUSIVE MODE, but
allows ROW
* SHARE */
#define ExclusiveLock 7 /* blocks ROW SHARE/SELECT...FOR
--- 109,117 ----
#define AccessShareLock 1 /* SELECT */
#define RowShareLock 2 /* SELECT FOR UPDATE/FOR SHARE */
#define RowExclusiveLock 3 /* INSERT, UPDATE, DELETE */
! #define ShareUpdateExclusiveLock 4 /* VACUUM (non-FULL),ANALYZE,
CREATE
! * INDEX CONCURRENTLY */
! #define ShareLock 5 /* CREATE INDEX (WITHOUT
CONCURRENTLY) */
#define ShareRowExclusiveLock 6 /* like EXCLUSIVE MODE, but
allows ROW
* SHARE */
#define ExclusiveLock 7 /* blocks ROW SHARE/SELECT...FOR

[]'s
- Walter

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2006-10-05 04:39:31 Re: Digging gram.y
Previous Message Bruce Momjian 2006-10-05 02:03:01 Re: [HACKERS] Updated version of FAQ_Solaris