Re: Show various offset arrays for heap WAL records
Heikki Linnakangas <hlinnaka@iki.fi>
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Peter Geoghegan <pg@bowt.ie>, Melanie Plageman <melanieplageman@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org,
Robert Haas <robertmhaas@gmail.com>,
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Date: 2023-07-10T07:44:27Z
Lists: pgsql-hackers
Attachments
- v1-0001-Add-rmgrdesc-README.patch (text/x-patch) patch v1-0001
On 12/04/2023 01:29, Peter Geoghegan wrote: > Thanks for your help with the follow-up work. Seems like we're done > with this now. This is still listed in the July commitfest; is there some work remaining? I'm late to the party, but regarding commit c03c2eae0a, which added the guidelines for writing formatting desc functions: You moved the comment from rmgrdesc_utils.c into rmgrdesc_utils.h, but I don't think that was a good idea. Our usual convention is to have the function comment in the .c file, not at the declaration in the header file. When I want to know what a function does, I jump to the .c file, and might miss the comment in the header entirely. Let's add a src/backend/access/rmgrdesc/README file. We don't currently have any explanation anywhere why the rmgr desc functions are in a separate directory. The README would be a good place to explain that, and to have the formatting guidelines. See attached. -- Heikki Linnakangas Neon (https://neon.tech)
Commits
-
Merge prune, freeze and vacuum WAL record formats
- f83d709760d8 17.0 landed
-
Add rmgrdesc README
- f0bd0b4489fa 17.0 landed
-
Refine the guidelines for rmgrdesc authors.
- c03c2eae0acb 16.0 landed
-
Fix Heap rmgr's desc output for infobits arrays.
- 96149a180d56 16.0 landed
-
Clarify nbtree posting list update desc issue.
- 26e65ebdb295 16.0 landed
-
Fix nbtree posting list update desc output.
- 5d6728e588c3 16.0 landed
-
Set cutoff xmin more aggressively when vacuuming a temporary table.
- a7212be8b9e0 14.0 cited