postgresql/src
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
..
backend Further refactor of heapgettup and heapgettup_pagemode 2023-02-03 11:48:39 +13:00
bin Try to fix pg_upgrade test on Windows, again. 2023-02-01 14:40:25 +13:00
common Refactor rmtree() to use get_dirent_type(). 2023-01-31 13:46:25 +13:00
fe_utils Refactor code for restoring files via shell commands 2023-01-18 11:15:48 +09:00
include Further refactor of heapgettup and heapgettup_pagemode 2023-02-03 11:48:39 +13:00
interfaces meson: Fix typo in pkgconfig generation 2023-02-01 18:14:01 +01:00
makefiles Update copyright for 2023 2023-01-02 15:00:37 -05:00
pl plpython: Stop undefining _POSIX_C_SOURCE, _XOPEN_SOURCE 2023-01-25 09:59:26 -08:00
port Remove gratuitous references to postmaster program 2023-01-26 10:48:32 +01:00
template Use unnamed POSIX semaphores on Cygwin. 2023-01-06 10:33:28 +13:00
test Allow the logical_replication_mode to be used on the subscriber. 2023-02-02 08:15:18 +05:30
timezone Update time zone data files to tzdata release 2022g. 2023-01-31 17:36:55 -05:00
tools Document installing perltidy with cpanm 2023-02-02 08:54:38 -05:00
tutorial Update copyright for 2023 2023-01-02 15:00:37 -05:00
.gitignore
DEVELOPERS
Makefile
Makefile.global.in autoconf: Move export_dynamic determination to configure 2022-12-06 18:55:28 -08:00
Makefile.shlib autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
nls-global.mk Fix for make unportability 2022-07-13 09:15:01 +02:00