diff options
author | David Rowley <drowley@postgresql.org> | 2023-02-02 14:17:15 +1300 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2023-02-02 14:17:15 +1300 |
commit | fb1a59de0c52609653166aafc6ce8679a9cfe54b (patch) | |
tree | 64505a4eb098e4ebfd81293ecf0f0d8bf7498d3c /src/backend/tcop/postgres.c | |
parent | 253432f42661fdd67d235252949e2838aa6421fd (diff) | |
download | postgresql-fb1a59de0c52609653166aafc6ce8679a9cfe54b.tar.gz postgresql-fb1a59de0c52609653166aafc6ce8679a9cfe54b.zip |
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
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions