Stabilize output of new isolation test insert-conflict-do-update-4.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 5d311d6a845ae4423a716ae422f1462128c33125
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2026-02-25T15:51:42Z
Releases: 14.23
Stabilize output of new isolation test insert-conflict-do-update-4.

The test added by commit 4b760a181 assumed that a table's physical
row order would be predictable after an UPDATE.  But a non-heap table
AM might produce some other order.  Even with heap AM, the assumption
seems risky; compare a3fd53bab for instance.  Adding an ORDER BY is
cheap insurance and doesn't break any goal of the test.

Author: Pavel Borisov <pashkin.elfe@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CALT9ZEHcE6tpvumScYPO6pGk_ASjTjWojLkodHnk33dvRPHXVw@mail.gmail.com
Backpatch-through: 14

Files

Discussion