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:
349cd8c
)
Fix ordering of items in nbtree error message.
author
Peter Geoghegan
<pg@bowt.ie>
Wed, 27 Oct 2021 20:05:35 +0000
(13:05 -0700)
committer
Peter Geoghegan
<pg@bowt.ie>
Wed, 27 Oct 2021 20:09:24 +0000
(13:09 -0700)
Oversight in commit
a5213adf
.
Backpatch: 13-, just like commit
a5213adf
.
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 a755aee55eb6497735b5d90632ba7490dbd9e944..1241c56239721446a473f8aebd12c1df06945f02 100644
(file)
--- a/
src/backend/access/nbtree/nbtinsert.c
+++ b/
src/backend/access/nbtree/nbtinsert.c
@@
-1184,7
+1184,7
@@
_bt_insertonpg(Relation rel,
errmsg_internal("table tid from new index tuple (%u,%u) overlaps with invalid duplicate tuple at offset %u of block %u in index \"%s\"",
ItemPointerGetBlockNumber(&itup->t_tid),
ItemPointerGetOffsetNumber(&itup->t_tid),
-
BufferGetBlockNumber(buf), newitemoff
,
+
newitemoff, BufferGetBlockNumber(buf)
,
RelationGetRelationName(rel))));
/* use a mutable copy of itup as our itup from here on */