pgsql: Cope with catcache entries becoming stale during detoasting.

2024-01-13 Thread Tom Lane
Cope with catcache entries becoming stale during detoasting. We've long had a policy that any toasted fields in a catalog tuple should be pulled in-line before entering the tuple in a catalog cache. However, that requires access to the catalog's toast table, and we'll typically do AcceptInvalidati

pgsql: Cope with catcache entries becoming stale during detoasting.

2024-01-13 Thread Tom Lane
Cope with catcache entries becoming stale during detoasting. We've long had a policy that any toasted fields in a catalog tuple should be pulled in-line before entering the tuple in a catalog cache. However, that requires access to the catalog's toast table, and we'll typically do AcceptInvalidati

pgsql: Cope with catcache entries becoming stale during detoasting.

2024-01-13 Thread Tom Lane
Cope with catcache entries becoming stale during detoasting. We've long had a policy that any toasted fields in a catalog tuple should be pulled in-line before entering the tuple in a catalog cache. However, that requires access to the catalog's toast table, and we'll typically do AcceptInvalidati

pgsql: Cope with catcache entries becoming stale during detoasting.

2024-01-13 Thread Tom Lane
Cope with catcache entries becoming stale during detoasting. We've long had a policy that any toasted fields in a catalog tuple should be pulled in-line before entering the tuple in a catalog cache. However, that requires access to the catalog's toast table, and we'll typically do AcceptInvalidati

pgsql: Cope with catcache entries becoming stale during detoasting.

2024-01-13 Thread Tom Lane
Cope with catcache entries becoming stale during detoasting. We've long had a policy that any toasted fields in a catalog tuple should be pulled in-line before entering the tuple in a catalog cache. However, that requires access to the catalog's toast table, and we'll typically do AcceptInvalidati

pgsql: Cope with catcache entries becoming stale during detoasting.

2024-01-13 Thread Tom Lane
Cope with catcache entries becoming stale during detoasting. We've long had a policy that any toasted fields in a catalog tuple should be pulled in-line before entering the tuple in a catalog cache. However, that requires access to the catalog's toast table, and we'll typically do AcceptInvalidati