git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 3e527ae) | patch
Remove BTScanOpaqueData.firstPage
2023年12月27日 12:21:49 +0000 (14:21 +0200)
2023年12月27日 12:21:49 +0000 (14:21 +0200)
commit 06b10f80ba4db745f21847520b07b4ffad814313
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
src/backend/access/nbtree/nbtree.c diff | blob | blame | history
src/backend/access/nbtree/nbtsearch.c diff | blob | blame | history
src/include/access/nbtree.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /