postgresql/src
Alexander Korotkov 06b10f80ba Remove BTScanOpaqueData.firstPage
It's not necessary to keep the firstPage flag as a field of BTScanOpaqueData.
This commit makes it an argument of the _bt_readpage() function.  We can easily
distinguish first-time and repeated calls (within the scan) of this function.

Reported-by: Peter Geoghegan
Discussion: https://postgr.es/m/CAH2-Wzk4SOsw%2BtHuTFiz8U9Jqj-R77rYPkhWKODCBb1mdHACXA%40mail.gmail.com
Reviewed-by: Pavel Borisov
2023-12-27 14:21:49 +02:00
..
backend Remove BTScanOpaqueData.firstPage 2023-12-27 14:21:49 +02:00
bin Fix typo and case in messages 2023-12-27 13:31:54 +07:00
common Fix erroneous -Werror=missing-braces on old GCC. 2023-12-24 23:36:33 -05:00
fe_utils Remove unneeded assignments in for loop header 2023-11-21 16:10:27 +01:00
include Remove BTScanOpaqueData.firstPage 2023-12-27 14:21:49 +02:00
interfaces Remove MSVC scripts 2023-12-20 09:44:37 +09:00
makefiles Remove distprep 2023-11-06 15:18:04 +01:00
pl Fix mistaken file name in plpython's meson recipe. 2023-12-26 17:03:02 -05:00
port Remove MSVC scripts 2023-12-20 09:44:37 +09:00
template Use unnamed POSIX semaphores on Cygwin. 2023-01-06 10:33:28 +13:00
test Make replace_relid() leave argument unmodified 2023-12-27 03:57:57 +02:00
timezone Remove distprep 2023-11-06 15:18:04 +01:00
tools Stop generating plain-text INSTALL instructions. 2023-12-22 13:32:15 -05:00
tutorial Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Initialize data directories with --lc-messages=C for tests. 2023-12-21 15:10:13 -08:00
Makefile.shlib Stop using "-multiply_defined suppress" on macOS. 2023-09-26 21:06:21 -04:00
meson.build Integrate pg_bsd_indent into our build/test infrastructure. 2023-02-12 12:22:21 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00