projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1fcbde
)
Silence another _bt_check_unique compiler warning.
author
Peter Geoghegan
Thu, 8 Apr 2021 19:54:31 +0000
(12:54 -0700)
committer
Peter Geoghegan
Thu, 8 Apr 2021 19:54:31 +0000
(12:54 -0700)
Per complaint from Tom Lane
Discussion: https://postgr.es/m/
1922884
.
1617909599
@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 0bc86943ebc550d5b191badc24511a8d2107e1ec..6ac205c98ee8e8147e75f32b13ed07a44d38049f 100644
(file)
--- a/
src/backend/access/nbtree/nbtinsert.c
+++ b/
src/backend/access/nbtree/nbtinsert.c
@@
-408,7
+408,7
@@
_bt_check_unique(Relation rel, BTInsertState insertstate, Relation heapRel,
{
IndexTuple itup = insertstate->itup;
IndexTuple curitup = NULL;
- ItemId curitemid;
+ ItemId curitemid
= NULL
;
BTScanInsert itup_key = insertstate->itup_key;
SnapshotData SnapshotDirty;
OffsetNumber offset;