Re: minor change on comments on lock.h

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Walter Cruz <walter(dot)php(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: minor change on comments on lock.h
Date: 2006-11-23 05:14:16
Message-ID: 200611230514.kAN5EG721398@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Thanks, comments updated.

---------------------------------------------------------------------------

Walter Cruz wrote:
> 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

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

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-11-23 05:45:27 8.2 open items list
Previous Message Bruce Momjian 2006-11-23 05:02:02 Re: SQL functions, INSERT/UPDATE/DELETE RETURNING,