Commit 6cac3433 authored by Peter Geoghegan's avatar Peter Geoghegan

Fix ordering of items in nbtree error message.

Oversight in commit a5213adf.

Backpatch: 13-, just like commit a5213adf.
parent d078fe83
...@@ -1184,7 +1184,7 @@ _bt_insertonpg(Relation rel, ...@@ -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\"", 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), ItemPointerGetBlockNumber(&itup->t_tid),
ItemPointerGetOffsetNumber(&itup->t_tid), ItemPointerGetOffsetNumber(&itup->t_tid),
BufferGetBlockNumber(buf), newitemoff, newitemoff, BufferGetBlockNumber(buf),
RelationGetRelationName(rel)))); RelationGetRelationName(rel))));
/* use a mutable copy of itup as our itup from here on */ /* use a mutable copy of itup as our itup from here on */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment