Fix ordering of items in nbtree error message.

Oversight in commit a5213adf.

Backpatch: 13-, just like commit a5213adf.
pull/73/head
Peter Geoghegan 4 years ago
parent 349cd8c582
commit c2381b5104
  1. 2
      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 */

Loading…
Cancel
Save