Return data from heap_page_prune via a struct.
Robert Haas <rhaas@postgresql.org>
Return data from heap_page_prune via a struct. Previously, one of the values in the struct was returned as the return value, and another was returned via an output parameter. In preparation for returning more stuff, consolidate both values into a struct returned via an output parameter. Melanie Plageman, reviewed by Andres Freund and by me. Discussion: https://postgr.es/m/CAAKRu_br124qsGJieuYA0nGjywEukhK1dKBfRdby_4yY3E9SXA%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/pruneheap.c | modified | +15 −18 |
| src/backend/access/heap/vacuumlazy.c | modified | +6 −11 |
| src/include/access/heapam.h | modified | +11 −2 |
| src/tools/pgindent/typedefs.list | modified | +1 −0 |
Discussion
- Eliminate redundant tuple visibility check in vacuum 25 messages · 2023-08-28 → 2023-10-02