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

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Arthur Nascimento <tureba@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>, Ashwin Agrawal <ashwinstar@gmail.com>, Junfeng Yang <yjerome@vmware.com>, pgsql-hackers <pgsql-hackers@postgresql.org>, Ashwin Agrawal <aashwin@vmware.com>
Date: 2023-01-19T17:10:37Z
Lists: pgsql-hackers
On Thu, Jan 19, 2023 at 10:42:47AM -0300, Arthur Nascimento wrote:
> Would it be possible to backport the patch to 12 and 13?

This was recently back-patched [0] [1] [2].

[0] https://postgr.es/m/Y70XNVbUWQsR2Car@paquier.xyz
[1] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=c0ee694
[2] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=72b6098

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



Commits

  1. Avoid using tuple from syscache for update of pg_database.datfrozenxid