From: Peter Geoghegan Date: Wed, 27 Oct 2021 20:09:01 +0000 (-0700) Subject: Fix ordering of items in nbtree error message. X-Git-Tag: REL_14_1~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6cac3433965ada5ea30fdaa4911eabd0bf59cb68;p=thirdparty%2Fpostgresql.git Fix ordering of items in nbtree error message. Oversight in commit a5213adf. Backpatch: 13-, just like commit a5213adf. --- diff --git a/src/backend/access/nbtree/nbtinsert.c b/src/backend/access/nbtree/nbtinsert.c index a755aee55eb..1241c562397 100644 --- a/src/backend/access/nbtree/nbtinsert.c +++ b/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 */