diff options
author | John Naylor <john.naylor@postgresql.org> | 2024-04-08 18:38:11 +0700 |
---|---|---|
committer | John Naylor <john.naylor@postgresql.org> | 2024-04-08 18:47:09 +0700 |
commit | f35bd9bf359d3d740063997e1cbab9b69df7af99 (patch) | |
tree | 73897cbf0f5703ef37457e58aa34f738e990d323 /src/bin/psql/common.c | |
parent | dd1f6b0c172a643a73d6b71259fa2d10378b39eb (diff) | |
download | postgresql-f35bd9bf359d3d740063997e1cbab9b69df7af99.tar.gz postgresql-f35bd9bf359d3d740063997e1cbab9b69df7af99.zip |
Teach TID store to skip bitmap for small numbers of offsets
The header portion of BlocktableEntry has enough padding space for
an array of 3 offsets (1 on 32-bit platforms). Use this space instead
of having a sparse bitmap array. This will take up a constant amount
of space no matter what the offsets are.
Reviewed (in an earlier version) by Masahiko Sawada
Discussion: https://postgr.es/m/CANWCAZYw+_KAaUNruhJfE=h6WgtBKeDG32St8vBJBEY82bGVRQ@mail.gmail.com
Discussion: https://postgr.es/m/CAD21AoBci3Hujzijubomo1tdwH3XtQ9F89cTNQ4bsQijOmqnEw@mail.gmail.com
Diffstat (limited to 'src/bin/psql/common.c')
0 files changed, 0 insertions, 0 deletions