projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d24ac36
)
Remove useless variable to suppress compiler warning.
author
Tom Lane
<
[email protected]
>
Sat, 7 Apr 2012 20:44:43 +0000
(16:44 -0400)
committer
Tom Lane
<
[email protected]
>
Sat, 7 Apr 2012 20:44:43 +0000
(16:44 -0400)
src/backend/catalog/index.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/catalog/index.c
b/src/backend/catalog/index.c
index 5fae488c745ab13e5e9fee1b4297f0bec5708fe6..3fd0e6045778ce8a6c4edaab0c144db85481bb8b 100644
(file)
--- a/
src/backend/catalog/index.c
+++ b/
src/backend/catalog/index.c
@@
-1292,8
+1292,7
@@
index_drop(Oid indexId, bool concurrent)
bool hasexprs;
LockRelId heaprelid,
indexrelid;
- LOCKTAG heaplocktag,
- indexlocktag;
+ LOCKTAG heaplocktag;
VirtualTransactionId *old_lockholders;
Form_pg_index indexForm;
@@
-1366,7
+1365,6
@@
index_drop(Oid indexId, bool concurrent)
heap_close(userHeapRelation, NoLock);
indexrelid = userIndexRelation->rd_lockInfo.lockRelId;
- SET_LOCKTAG_RELATION(indexlocktag, indexrelid.dbId, indexrelid.relId);
index_close(userIndexRelation, NoLock);
/*