pgsql: Avoid using tuple from syscache for update of pg_database.datfro

2023-01-10 Thread Michael Paquier
Avoid using tuple from syscache for update of pg_database.datfrozenxid pg_database.datfrozenxid gets updated using an in-place update at the end of vacuum or autovacuum. Since 96cdeae, as pg_database has a toast relation, it is possible for a pg_database tuple to have toast values if there is a l

pgsql: Avoid using tuple from syscache for update of pg_database.datfro

2023-01-10 Thread Michael Paquier
Avoid using tuple from syscache for update of pg_database.datfrozenxid pg_database.datfrozenxid gets updated using an in-place update at the end of vacuum or autovacuum. Since 96cdeae, as pg_database has a toast relation, it is possible for a pg_database tuple to have toast values if there is a l

pgsql: Avoid using tuple from syscache for update of pg_database.datfro

2020-12-07 Thread Michael Paquier
Avoid using tuple from syscache for update of pg_database.datfrozenxid pg_database.datfrozenxid gets updated using an in-place update at the end of vacuum or autovacuum. Since 96cdeae, as pg_database has a toast relation, it is possible for a pg_database tuple to have toast values if there is a l