postgresql/src/backend/access
David Rowley f9bc34fcb6 Further refactor of heapgettup and heapgettup_pagemode
Backward and forward scans share much of the same page acquisition code.
Here we consolidate that code to reduce some duplication.

Additionally, add a new rs_coffset field to HeapScanDescData to track the
offset of the current tuple.  The new field fits nicely into the padding
between a bool and BlockNumber field and saves having to look at the last
returned tuple to figure out which offset we should be looking at for the
current tuple.

Author: Melanie Plageman
Reviewed-by: David Rowley
Discussion: https://postgr.es/m/CAAKRu_bvkhka0CZQun28KTqhuUh5ZqY=_T8QEqZqOL02rpi2bw@mail.gmail.com
2023-02-03 11:48:39 +13:00
..
brin Update copyright for 2023 2023-01-02 15:00:37 -05:00
common Revert "Add eager and lazy freezing strategies to VACUUM." 2023-01-25 22:22:27 -08:00
gin Update copyright for 2023 2023-01-02 15:00:37 -05:00
gist Add BufFileRead variants with short read and EOF detection 2023-01-16 11:01:31 +01:00
hash New header varatt.h split off from postgres.h 2023-01-10 05:54:36 +01:00
heap Further refactor of heapgettup and heapgettup_pagemode 2023-02-03 11:48:39 +13:00
index Update copyright for 2023 2023-01-02 15:00:37 -05:00
nbtree Update copyright for 2023 2023-01-02 15:00:37 -05:00
rmgrdesc Update copyright for 2023 2023-01-02 15:00:37 -05:00
spgist New header varatt.h split off from postgres.h 2023-01-10 05:54:36 +01:00
table New header varatt.h split off from postgres.h 2023-01-10 05:54:36 +01:00
tablesample Update copyright for 2023 2023-01-02 15:00:37 -05:00
transam Retire PG_SETMASK() macro. 2023-02-03 11:29:46 +13:00
Makefile Introduce access/{table.h, relation.h}, for generic functions from heapam.h. 2019-01-21 10:51:36 -08:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00