diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-11-23 05:14:04 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-11-23 05:14:04 +0000 |
commit | 0c6f167c4a59b87d17462bd1ec3b7c7ac0f0c1d5 (patch) | |
tree | c669ece13690a0828cd92e5b61d3cdc703302541 /src | |
parent | 3bd2e3e92bf46f812f6bab06adabec8b9009c63c (diff) | |
download | postgresql-0c6f167c4a59b87d17462bd1ec3b7c7ac0f0c1d5.tar.gz postgresql-0c6f167c4a59b87d17462bd1ec3b7c7ac0f0c1d5.zip |
Update lock comments for concurrent index creation, analyze.
Walter Cruz
Diffstat (limited to 'src')
-rw-r--r-- | src/include/storage/lock.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/storage/lock.h b/src/include/storage/lock.h index 6b91acc3eaa..90fad5412bc 100644 --- a/src/include/storage/lock.h +++ b/src/include/storage/lock.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/storage/lock.h,v 1.101 2006/10/04 00:30:10 momjian Exp $ + * $PostgreSQL: pgsql/src/include/storage/lock.h,v 1.102 2006/11/23 05:14:04 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -109,8 +109,9 @@ typedef uint16 LOCKMETHODID; #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 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 |