Skip to content

Commit d5a2ffb

Browse files
Fix ordering of items in nbtree error message.
Oversight in commit a5213ad. Backpatch: 13-, just like commit a5213ad.
1 parent f8cce4a commit d5a2ffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/nbtree/nbtinsert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@ _bt_insertonpg(Relation rel,
11781178
errmsg_internal("table tid from new index tuple (%u,%u) overlaps with invalid duplicate tuple at offset %u of block %u in index \"%s\"",
11791179
ItemPointerGetBlockNumber(&itup->t_tid),
11801180
ItemPointerGetOffsetNumber(&itup->t_tid),
1181-
BufferGetBlockNumber(buf), newitemoff,
1181+
newitemoff, BufferGetBlockNumber(buf),
11821182
RelationGetRelationName(rel))));
11831183

11841184
/* use a mutable copy of itup as our itup from here on */

0 commit comments

Comments
 (0)