mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +03:00
Update lock comments for concurrent index creation, analyze.
Walter Cruz
This commit is contained in:
@ -7,7 +7,7 @@
|
|||||||
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* 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 AccessShareLock 1 /* SELECT */
|
||||||
#define RowShareLock 2 /* SELECT FOR UPDATE/FOR SHARE */
|
#define RowShareLock 2 /* SELECT FOR UPDATE/FOR SHARE */
|
||||||
#define RowExclusiveLock 3 /* INSERT, UPDATE, DELETE */
|
#define RowExclusiveLock 3 /* INSERT, UPDATE, DELETE */
|
||||||
#define ShareUpdateExclusiveLock 4 /* VACUUM (non-FULL) */
|
#define ShareUpdateExclusiveLock 4 /* VACUUM (non-FULL),ANALYZE, CREATE
|
||||||
#define ShareLock 5 /* CREATE INDEX */
|
* INDEX CONCURRENTLY */
|
||||||
|
#define ShareLock 5 /* CREATE INDEX (WITHOUT CONCURRENTLY) */
|
||||||
#define ShareRowExclusiveLock 6 /* like EXCLUSIVE MODE, but allows ROW
|
#define ShareRowExclusiveLock 6 /* like EXCLUSIVE MODE, but allows ROW
|
||||||
* SHARE */
|
* SHARE */
|
||||||
#define ExclusiveLock 7 /* blocks ROW SHARE/SELECT...FOR
|
#define ExclusiveLock 7 /* blocks ROW SHARE/SELECT...FOR
|
||||||
|
Reference in New Issue
Block a user