summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Geoghegan2021-10-27 20:05:35 +0000
committerPeter Geoghegan2021-10-27 20:09:24 +0000
commitc2381b51049bad5dd1863ab1116b315bd7693b7c (patch)
treee2a729e3de36f3f1da1f96f008aa124a81941ca8
parent349cd8c582a1e666c9c804850cf5b532b86cd1b4 (diff)
Fix ordering of items in nbtree error message.
Oversight in commit a5213adf. Backpatch: 13-, just like commit a5213adf.
-rw-r--r--src/backend/access/nbtree/nbtinsert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/nbtree/nbtinsert.c b/src/backend/access/nbtree/nbtinsert.c
index a755aee55e..1241c56239 100644
--- 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 */