Re: Sketch of a fix for that truncation data corruption issue - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Sketch of a fix for that truncation data corruption issue
Date
Msg-id 1199755.1680525641@sss.pgh.pa.us
Whole thread Raw
In response to Re: Sketch of a fix for that truncation data corruption issue  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Has this problem been fixed?  I was under the impression that it had
> been, but I spent some 20 minutes now looking for code, commits, or
> patches in the archives, and I can't find anything relevant.  Maybe it
> was fixed in some different way that's not so obviously connected?

As far as I can see from a quick look at the code, nothing has been
done that would alleviate this problem: smgrtruncate still calls
DropRelationBuffers before truncating.

Have you run into a new case of it?  I don't recall having seen
many field complaints about this since 2018.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Aleksander Alekseev
Date:
Subject: Re: [PATCH] Clarify the behavior of the system when approaching XID wraparound
Next
From: Daniel Gustafsson
Date:
Subject: Re: GUC for temporarily disabling event triggers