Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0c6f167

Browse files
committed
Update lock comments for concurrent index creation, analyze.
Walter Cruz
1 parent3bd2e3e commit0c6f167

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
#defineAccessShareLock1/* SELECT */
110110
#defineRowShareLock2/* SELECT FOR UPDATE/FOR SHARE */
111111
#defineRowExclusiveLock3/* INSERT, UPDATE, DELETE */
112-
#defineShareUpdateExclusiveLock 4/* VACUUM (non-FULL) */
113-
#defineShareLock5/* CREATE INDEX */
112+
#defineShareUpdateExclusiveLock 4/* VACUUM (non-FULL),ANALYZE, CREATE
113+
* INDEX CONCURRENTLY */
114+
#defineShareLock5/* CREATE INDEX (WITHOUT CONCURRENTLY) */
114115
#defineShareRowExclusiveLock6/* like EXCLUSIVE MODE, but allows ROW
115116
* SHARE */
116117
#defineExclusiveLock7/* blocks ROW SHARE/SELECT...FOR

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp