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