diff options
Diffstat (limited to 'src/backend/catalog/index.c')
| -rw-r--r-- | src/backend/catalog/index.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/catalog/index.c b/src/backend/catalog/index.c index e3f3ab6704..b18d07878d 100644 --- a/src/backend/catalog/index.c +++ b/src/backend/catalog/index.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/catalog/index.c,v 1.252 2005/04/14 20:03:23 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/catalog/index.c,v 1.253 2005/04/28 21:47:11 tgl Exp $ * * * INTERFACE ROUTINES @@ -471,7 +471,7 @@ index_create(Oid heapRelationId, int i; /* - * Only SELECT ... FOR UPDATE are allowed while doing this + * Only SELECT ... FOR UPDATE/SHARE are allowed while doing this */ heapRelation = heap_open(heapRelationId, ShareLock); @@ -1460,6 +1460,7 @@ IndexBuildHeapScan(Relation heapRelation, * a system catalog, because we often release lock on * system catalogs before committing. */ + Assert(!(heapTuple->t_data->t_infomask & HEAP_XMAX_IS_MULTI)); if (!TransactionIdIsCurrentTransactionId( HeapTupleHeaderGetXmax(heapTuple->t_data)) && !IsSystemRelation(heapRelation)) |
