Re: vac_update_datfrozenxid will raise "wrong tuple length" if pg_database tuple contains toast attribute.

From: Arthur Nascimento <tureba(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Ashwin Agrawal <ashwinstar(at)gmail(dot)com>, Junfeng Yang <yjerome(at)vmware(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Ashwin Agrawal <aashwin(at)vmware(dot)com>
Subject: Re: vac_update_datfrozenxid will raise "wrong tuple length" if pg_database tuple contains toast attribute.
Date: 2023-01-19 13:42:47
Message-ID: CALVFHFYhqeZzP=RzNyueXUKGzzq3pHNsd-=0dMKKiTySe=_stA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)paquier(dot)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(at)paquier(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2023-01-19 13:44:57 Re: Unicode grapheme clusters
Previous Message vignesh C 2023-01-19 13:23:37 Re: Time delayed LR (WAS Re: logical replication restrictions)