diff options
author | Andres Freund <andres@anarazel.de> | 2023-04-06 14:18:24 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2023-04-06 16:17:16 -0700 |
commit | 5279e9db8e8da3c310c0068da2de98df5a714b2e (patch) | |
tree | e38b8127380623775b00564c38f65029543f5956 /src/backend/access/transam/xlogutils.c | |
parent | 7d71d3dd080b9b147402db3365fe498f74704231 (diff) | |
download | postgresql-5279e9db8e8da3c310c0068da2de98df5a714b2e.tar.gz postgresql-5279e9db8e8da3c310c0068da2de98df5a714b2e.zip |
heapam: Pass number of required pages to RelationGetBufferForTuple()
A future commit will use this information to determine how aggressively to
extend the relation by. In heap_multi_insert() we know accurately how many
pages we need once we need to extend the relation, providing an accurate lower
bound for how much to extend.
Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>
Discussion: https://postgr.es/m/20221029025420.eplyow6k7tgu6he3@awork3.anarazel.de
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
0 files changed, 0 insertions, 0 deletions