Re: [Patch] Fix pg_upgrade/t/007_multixact_conversion.pl - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: [Patch] Fix pg_upgrade/t/007_multixact_conversion.pl
Date
Msg-id 7f989e9f-e00b-423e-bc61-a183a0c51b6c@iki.fi
Whole thread
List pgsql-hackers
On 15/06/2026 15:23, Potapov Alexander wrote:
> Hello,
> 
> This about the test pg_upgrade/t/007_multixact_conversion.pl. It was added several months ago. The test creates table
mxofftest:
 
>         CREATE TABLE mxofftest (id INT PRIMARY KEY, n_updated INT)
> Next there is wrong usage of this table:
>         "SELECT ctid, xmin, xmax, * FROM mxofftest");
> It should be
>         "SELECT id, n_updated, * FROM mxofftest");
> 
> The fix is very simple, the patch attached.

What's wrong with the query it currently uses?

- Heikki




pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: BackgroundPsql swallowing errors on windows
Next
From: Amit Kapila
Date:
Subject: Re: Report bytes and transactions actually sent downtream