projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f5b596
)
Silence _bt_check_unique compiler warning.
author
Peter Geoghegan
<pg@bowt.ie>
Sat, 13 Jun 2020 16:33:33 +0000
(09:33 -0700)
committer
Peter Geoghegan
<pg@bowt.ie>
Sat, 13 Jun 2020 16:33:33 +0000
(09:33 -0700)
Reported-By: Tom Lane
Discussion: https://postgr.es/m/841649.
1592065060
@sss.pgh.pa.us
src/backend/access/nbtree/nbtinsert.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/nbtree/nbtinsert.c
b/src/backend/access/nbtree/nbtinsert.c
index a36b35010e5bdc8a9dfa9941b6c564b7b0e68829..55fe16bd4e12d26fc77cfa58a1bf43d85dd047a5 100644
(file)
--- a/
src/backend/access/nbtree/nbtinsert.c
+++ b/
src/backend/access/nbtree/nbtinsert.c
@@
-389,7
+389,7
@@
_bt_check_unique(Relation rel, BTInsertState insertstate, Relation heapRel,
uint32 *speculativeToken)
{
IndexTuple itup = insertstate->itup;
- IndexTuple curitup;
+ IndexTuple curitup
= NULL
;
ItemId curitemid;
BTScanInsert itup_key = insertstate->itup_key;
SnapshotData SnapshotDirty;