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

Commit0450331

Browse files
author
Hiroshi Inoue
committed
Allow concurrent index creation for the same table.
1 parentf8aa02e commit0450331

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/commands/indexcmds.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.58 2001/10/04 22:06:46 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.59 2001/10/24 09:28:31 inoue Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -130,7 +130,7 @@ DefineIndex(char *heapRelationName,
130130
CheckPredicate(cnfPred,rangetable,relationId);
131131
}
132132

133-
if (!IsBootstrapProcessingMode()&& !IndexesAreActive(relationId, false))
133+
if (!IsBootstrapProcessingMode()&&IsSystemRelationName(heapRelationName)&&!IndexesAreActive(relationId, false))
134134
elog(ERROR,"Existing indexes are inactive. REINDEX first");
135135

136136
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp