diff options
author | Jeff Davis | 2020-04-04 02:52:16 +0000 |
---|---|---|
committer | Jeff Davis | 2020-04-04 03:07:58 +0000 |
commit | 0588ee63aa2d8c5765d086991555cd9acdd4d86f (patch) | |
tree | 6992318ae8adc1e241c73f063b55f61203daa136 /src/backend/access/gist/gistutil.c | |
parent | 3e0d80fd8d3dd4f999e0d3aa3e591f480d8ad1fd (diff) |
Include chunk overhead in hash table entry size estimate.
Don't try to be precise about it, just use a constant 16 bytes of
chunk overhead. Being smarter would require knowing the memory context
where the chunk will be allocated, which is not known by all callers.
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions