Re: Fixing a couple of buglets in how VACUUM sets visibility map bits
Peter Geoghegan <pg@bowt.ie>
From: Peter Geoghegan <pg@bowt.ie>
To: Andres Freund <andres@anarazel.de>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Robert Haas <robertmhaas@gmail.com>
Date: 2023-01-12T03:46:59Z
Lists: pgsql-hackers
Attachments
- v4-0001-Tighten-up-VACUUM-s-approach-to-setting-VM-bits.patch (application/octet-stream) patch v4-0001
On Mon, Jan 9, 2023 at 12:58 PM Peter Geoghegan <pg@bowt.ie> wrote: > On Mon, Jan 9, 2023 at 11:57 AM Andres Freund <andres@anarazel.de> wrote: > > Afaict we'll need to backpatch this all the way? > > I thought that we probably wouldn't need to, at first. But I now think > that we really have to. Attached is v4. This is almost the same as v3. The only notable change is in how the issue is explained in comments, and in the commit message. I have revised my opinion on this question once more. In light of what has come to light about the issue from recent testing, I lean towards a HEAD-only commit once again. What do you think? I still hope to be able to commit this on my original timeline (on Monday or so), without the issue taking up too much more of everybody's time. Thanks -- Peter Geoghegan
Commits
-
Tighten up VACUUM's approach to setting VM bits.
- 980ae173108e 16.0 landed
-
Make lazy_vacuum_heap_rel match lazy_scan_heap.
- d30b499997ca 16.0 landed
-
vacuumlazy.c: Tweak local variable name.
- 8c233cf86b6d 16.0 landed
-
vacuumlazy.c: Save get_database_name() in vacrel.
- 54afdcd6182a 16.0 landed
-
Avoid special XID snapshotConflictHorizon values.
- 6daeeb1f9196 16.0 landed
-
Change the format of the VM fork to add a second bit per page.
- a892234f830e 9.6.0 cited