Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0c6f167

Browse files
committed
Update lock comments for concurrent index creation, analyze.
Walter Cruz
1 parent 3bd2e3e commit 0c6f167

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/include/storage/lock.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/storage/lock.h,v 1.101 2006/10/04 00:30:10 momjian Exp $
10+
* $PostgreSQL: pgsql/src/include/storage/lock.h,v 1.102 2006/11/23 05:14:04 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -109,8 +109,9 @@ typedef uint16 LOCKMETHODID;
109109
#define AccessShareLock 1 /* SELECT */
110110
#define RowShareLock 2 /* SELECT FOR UPDATE/FOR SHARE */
111111
#define RowExclusiveLock 3 /* INSERT, UPDATE, DELETE */
112-
#define ShareUpdateExclusiveLock 4 /* VACUUM (non-FULL) */
113-
#define ShareLock 5 /* CREATE INDEX */
112+
#define ShareUpdateExclusiveLock 4 /* VACUUM (non-FULL),ANALYZE, CREATE
113+
* INDEX CONCURRENTLY */
114+
#define ShareLock 5 /* CREATE INDEX (WITHOUT CONCURRENTLY) */
114115
#define ShareRowExclusiveLock 6 /* like EXCLUSIVE MODE, but allows ROW
115116
* SHARE */
116117
#define ExclusiveLock 7 /* blocks ROW SHARE/SELECT...FOR

0 commit comments

Comments
 (0)