File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.23 1997/09/18 20:20:14 momjian Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.24 1997/10/27 11:52:43 vadim Exp $
11
11
*
12
12
*
13
13
* INTERFACE ROUTINES
@@ -1103,9 +1103,12 @@ index_create(char *heapRelationName,
1103
1103
/* ----------------
1104
1104
* write lock heap to guarantee exclusive access
1105
1105
* ----------------
1106
+ RelationSetLockForWrite(heapRelation);
1107
+ * ^^^^^
1108
+ * Does it have any sense ? - vadim 10/27/97
1106
1109
*/
1107
1110
1108
- RelationSetLockForWrite (heapRelation );
1111
+ RelationSetLockForRead (heapRelation );
1109
1112
1110
1113
/* ----------------
1111
1114
* construct new tuple descriptor
You can’t perform that action at this time.
0 commit comments