Reduce code duplication between heapgettup and heapgettup_pagemode
David Rowley <drowley@postgresql.org>
Reduce code duplication between heapgettup and heapgettup_pagemode The code to get the next block number was exactly the same between these two functions, so let's just put it into a helper function and call that from both locations. Author: Melanie Plageman Reviewed-by: Andres Freund, David Rowley Discussion: https://postgr.es/m/CAAKRu_bvkhka0CZQun28KTqhuUh5ZqY=_T8QEqZqOL02rpi2bw@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/heapam.c | modified | +91 −95 |
Discussion
- heapgettup() with NoMovementScanDirection unused in core? 17 messages · 2023-01-25 → 2023-01-31