Doc: update VACUUM FREEZE query conflict guidance.
authorPeter Geoghegan <pg@bowt.ie>
Mon, 8 May 2023 20:17:31 +0000 (13:17 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Mon, 8 May 2023 20:17:31 +0000 (13:17 -0700)
commit5698f07947396e1a7cd6564390306aafa26fc189
tree3dea5569eb51420ecd3b99e535617c435943c793
parentf7faa9976cc0504c027a20ed66ceca9018041dd4
Doc: update VACUUM FREEZE query conflict guidance.

Commit 1de58df4, which added page-level freezing, taught VACUUM to reuse
each page's "set-visibility-map" snapshotConflictHorizon for freezing
(at least in the vast majority of cases where freezing went ahead).
This made VACUUM FREEZE much less prone to generating recovery conflicts
on standbys; VACUUM FREEZE became only slightly more likely to cause
recovery conflicts than an equivalent VACUUM.

Update old documentation that specifically warned of the likelihood of
recovery conflicts from VACUUM FREEZE.  Explain the same general issue
(the issue of VACUUM generating recovery conflicts even in the absence
of dead row cleanup) using the example of conflicts caused by VISIBLE
WAL records.
doc/src/sgml/high-availability.sgml