Fix ordering of items in nbtree error message.

Oversight in commit a5213adf.

Backpatch: 13-, just like commit a5213adf.
This commit is contained in:
Peter Geoghegan 2021-10-27 13:09:00 -07:00
parent f8cce4a3d8
commit d5a2ffbce5

View File

@ -1178,7 +1178,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 */