8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d24ac36 commit a25ef7aCopy full SHA for a25ef7a
src/backend/catalog/index.c
@@ -1292,8 +1292,7 @@ index_drop(Oid indexId, bool concurrent)
1292
bool hasexprs;
1293
LockRelId heaprelid,
1294
indexrelid;
1295
- LOCKTAG heaplocktag,
1296
- indexlocktag;
+ LOCKTAG heaplocktag;
1297
VirtualTransactionId *old_lockholders;
1298
Form_pg_index indexForm;
1299
@@ -1366,7 +1365,6 @@ index_drop(Oid indexId, bool concurrent)
1366
1365
heap_close(userHeapRelation, NoLock);
1367
1368
indexrelid = userIndexRelation->rd_lockInfo.lockRelId;
1369
- SET_LOCKTAG_RELATION(indexlocktag, indexrelid.dbId, indexrelid.relId);
1370
index_close(userIndexRelation, NoLock);
1371
1372
/*
0 commit comments