Re: Fortify float4 and float8 regression tests by ordering test results

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
Cc: Pavel Borisov <pashkin(dot)elfe(at)gmail(dot)com>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Fortify float4 and float8 regression tests by ordering test results
Date: 2025-04-22 16:20:55
Message-ID: 995810.1745338855@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alexander Korotkov <aekorotkov(at)gmail(dot)com> writes:
> I'd like to add that float4.out not only assumes that insert-ordering is
> preserved (this could be more-or-less portable between table AMs). It also
> assumes the way UPDATE moves updated rows. That seems quite
> heap-specific. You can see in the following fragment, updated rows jump to
> the bottom.

I'd be willing to consider a policy that we don't want to depend on
exactly where UPDATE moves rows to. The proposed patch is not that,
however.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2025-04-22 16:22:10 Re: Fortify float4 and float8 regression tests by ordering test results
Previous Message Nikolay Shaplov 2025-04-22 16:11:51 Re: Check for tuplestorestate nullness before dereferencing