Refactor heapam.c adding heapgettup_initial_block function
David Rowley <drowley@postgresql.org>
Refactor heapam.c adding heapgettup_initial_block function Here we adjust heapgettup() and heapgettup_pagemode() to move the code that fetches the first block number to scan out into a helper function. This removes some code duplication. Author: Melanie Plageman Reviewed-by: David Rowley Discussion: https://postgr.es/m/CAAKRu_bvkhka0CZQun28KTqhuUh5ZqY=_T8QEqZqOL02rpi2bw@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/heapam.c | modified | +102 −121 |
Discussion
- heapgettup() with NoMovementScanDirection unused in core? 17 messages · 2023-01-25 → 2023-01-31