Re: vac_update_datfrozenxid will raise "wrong tuple length" if pg_database tuple contains toast attribute. - Mailing list pgsql-hackers

From Arthur Nascimento
Subject Re: vac_update_datfrozenxid will raise "wrong tuple length" if pg_database tuple contains toast attribute.
Date
Msg-id CALVFHFYhqeZzP=RzNyueXUKGzzq3pHNsd-=0dMKKiTySe=_stA@mail.gmail.com
Whole thread Raw
In response to Re: vac_update_datfrozenxid will raise "wrong tuple length" if pg_database tuple contains toast attribute.  (Michael Paquier <michael@paquier.xyz>)
Responses Re: vac_update_datfrozenxid will raise "wrong tuple length" if pg_database tuple contains toast attribute.  (Nathan Bossart <nathandbossart@gmail.com>)
List pgsql-hackers
Hi Michael,

I got a customer case that matches this issue. The customer is on an
old version of 12, but I see the patch only went into 14:

On Tue, 8 Dec 2020 at 00:32, Michael Paquier <michael@paquier.xyz> wrote:
> > Yes the attached patch looks good to me for PostgreSQL. Thanks Michael.
> Okay, committed to HEAD then.

commit 947789f1f5fb61daf663f26325cbe7cad8197d58
Author: Michael Paquier <michael@paquier.xyz>
Date:   Tue Dec 8 12:13:19 2020 +0900

   Avoid using tuple from syscache for update of pg_database.datfrozenxid

Would it be possible to backport the patch to 12 and 13?

-- 
Arthur Nascimento
EDB



pgsql-hackers by date:

Previous
From: vignesh C
Date:
Subject: Re: Time delayed LR (WAS Re: logical replication restrictions)
Next
From: Pavel Stehule
Date:
Subject: Re: Unicode grapheme clusters