Re: Recovering from detoast-related catcache invalidations

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-hackers@lists.postgresql.org
Cc: Alexander Lakhin <exclusion@gmail.com>
Date: 2023-11-17T20:35:52Z
Lists: pgsql-hackers

Attachments

I wrote:
> In bug #18163 [1], Alexander proved the misgivings I had in [2]
> about catcache detoasting being possibly unsafe:
> ...
> Attached is a POC patch for fixing this.

The cfbot pointed out that this needed a rebase.  No substantive
changes.

			regards, tom lane

Commits

  1. Add previous commit to .git-blame-ignore-revs.

  2. Re-pgindent catcache.c after previous commit.

  3. Cope with catcache entries becoming stale during detoasting.