Skip to content

Commit c2381b5

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

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
@@ -1184,7 +1184,7 @@ _bt_insertonpg(Relation rel,
11841184
errmsg_internal("table tid from new index tuple (%u,%u) overlaps with invalid duplicate tuple at offset %u of block %u in index \"%s\"",
11851185
ItemPointerGetBlockNumber(&itup->t_tid),
11861186
ItemPointerGetOffsetNumber(&itup->t_tid),
1187-
BufferGetBlockNumber(buf), newitemoff,
1187+
newitemoff, BufferGetBlockNumber(buf),
11881188
RelationGetRelationName(rel))));
11891189

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

0 commit comments

Comments
 (0)