postgresql/src/backend/access
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
..
brin Allow parallel CREATE INDEX for BRIN indexes 2023-12-08 18:15:26 +01:00
common Make ResourceOwners more easily extensible. 2023-11-08 13:30:50 +02:00
gin Allow parallel CREATE INDEX for BRIN indexes 2023-12-08 18:15:26 +01:00
gist Allow parallel CREATE INDEX for BRIN indexes 2023-12-08 18:15:26 +01:00
hash Allow parallel CREATE INDEX for BRIN indexes 2023-12-08 18:15:26 +01:00
heap Apply quotes more consistently to GUC names in logs 2023-11-30 14:11:45 +09:00
index Check if ii_AmCache is NULL in aminsertcleanup 2023-11-27 16:53:06 +01:00
nbtree Remove BTScanOpaqueData.firstPage 2023-12-27 14:21:49 +02:00
rmgrdesc Show isCatalogRel in several rmgr descriptions. 2023-12-21 10:09:38 +09:00
spgist Avoid trying to fetch metapage of an SPGist partitioned index. 2023-12-21 12:43:36 -05:00
table Add const to values and nulls arguments 2023-10-10 07:50:43 +02:00
tablesample Update copyright for 2023 2023-01-02 15:00:37 -05:00
transam Add support for incremental backup. 2023-12-20 09:49:12 -05: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