aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2025-03-11 10:35:56 -0400
committerPeter Geoghegan <pg@bowt.ie>2025-03-11 10:35:56 -0400
commit426ea611171da4e60ab4f3863fa3cc3683ae9547 (patch)
tree8186c288021aaabe5b60cd51e82374ad4bd4007e /src/backend/utils/adt/ruleutils.c
parent0fbceae841cb5a31b13d3f284ac8fdd19822eceb (diff)
downloadpostgresql-426ea611171da4e60ab4f3863fa3cc3683ae9547.tar.gz
postgresql-426ea611171da4e60ab4f3863fa3cc3683ae9547.zip
nbtree: Make BTMaxItemSize into object-like macro.
Make nbtree's "1/3 of a page limit" BTMaxItemSize function-like macro (which accepts a "page" argument) into an object-like macro that can be used from code that doesn't have convenient access to an nbtree page. Preparation for an upcoming patch that adds skip scan to nbtree. Parallel index scans that use skip scan will serialize datums (not just SAOP array subscripts) when scheduling primitive scans. BTMaxItemSize will be used by btestimateparallelscan to determine how much DSM to request. Author: Peter Geoghegan <pg@bowt.ie> Discussion: https://postgr.es/m/CAH2-Wz=H_RG5weNGeUG_TkK87tRBnH9mGCQj6WpM4V4FNWKv2g@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions