diff options
author | Peter Geoghegan <pg@bowt.ie> | 2021-10-27 13:05:35 -0700 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2021-10-27 13:09:24 -0700 |
commit | c2381b51049bad5dd1863ab1116b315bd7693b7c (patch) | |
tree | e2a729e3de36f3f1da1f96f008aa124a81941ca8 | |
parent | 349cd8c582a1e666c9c804850cf5b532b86cd1b4 (diff) | |
download | postgresql-c2381b51049bad5dd1863ab1116b315bd7693b7c.tar.gz postgresql-c2381b51049bad5dd1863ab1116b315bd7693b7c.zip |
Fix ordering of items in nbtree error message.
Oversight in commit a5213adf.
Backpatch: 13-, just like commit a5213adf.
-rw-r--r-- | src/backend/access/nbtree/nbtinsert.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |