Update "don't truncate with failsafe" rationale.

Peter Geoghegan <pg@bowt.ie>

Commit: 988ffc30637ce2b7c4ff984513f4695372602ce2
Author: Peter Geoghegan <pg@bowt.ie>
Date: 2022-02-15T23:16:19Z
Releases: 15.0
Update "don't truncate with failsafe" rationale.

There is a very good (though non-obvious) reason to avoid relation
truncation during a VACUUM that has triggered the failsafe mechanism,
which was missed before now.  Update related comments, so this isn't
forgotten.

Reported-By: John Naylor <john.naylor@enterprisedb.com>
Discussion: https://postgr.es/m/CAFBsxsFiMPxQ-dHZ8tOgktn=+ffeJT3+GinZ4zdOGbmAnCYadA@mail.gmail.com

Files

PathChange+/−
src/backend/access/heap/vacuumlazy.c modified +7 −2

Discussion