diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2023-12-27 14:21:49 +0200 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2023-12-27 14:21:49 +0200 |
commit | 06b10f80ba4db745f21847520b07b4ffad814313 (patch) | |
tree | 2b9ad3e6852d6516c7e8de61a315e330e85ad1ee /src/backend/access/transam/xlog.c | |
parent | 3e527aeeedb0bbbb2388365147ab00cd0f55dfc4 (diff) | |
download | postgresql-06b10f80ba4db745f21847520b07b4ffad814313.tar.gz postgresql-06b10f80ba4db745f21847520b07b4ffad814313.zip |
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
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions