|
8 | 8 | * |
9 | 9 | * |
10 | 10 | * IDENTIFICATION |
11 | | - * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.194 2002/09/0301:04:41 tgl Exp $ |
| 11 | + * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.195 2002/09/0316:00:02 tgl Exp $ |
12 | 12 | * |
13 | 13 | * |
14 | 14 | * INTERFACE ROUTINES |
@@ -1818,7 +1818,7 @@ reindex_index(Oid indexId, bool force, bool inplace) |
1818 | 1818 | indexInfo=BuildIndexInfo(iRel->rd_index); |
1819 | 1819 |
|
1820 | 1820 | /* Open the parent heap relation */ |
1821 | | -heapRelation=heap_open(heapId,ExclusiveLock); |
| 1821 | +heapRelation=heap_open(heapId,AccessExclusiveLock); |
1822 | 1822 | if (heapRelation==NULL) |
1823 | 1823 | elog(ERROR,"reindex_index: can't open heap relation"); |
1824 | 1824 |
|
@@ -1919,8 +1919,8 @@ reindex_relation(Oid relid, bool force) |
1919 | 1919 |
|
1920 | 1920 | /* |
1921 | 1921 | * Ensure to hold an exclusive lock throughout the transaction. The |
1922 | | - * lock could be less intensivebut now it's AccessExclusiveLock for |
1923 | | - * simplicity. |
| 1922 | + * lock could be less intensive(in the non-overwrite path) but now |
| 1923 | + *it's AccessExclusiveLock forsimplicity. |
1924 | 1924 | */ |
1925 | 1925 | rel=heap_open(relid,AccessExclusiveLock); |
1926 | 1926 |
|
|