aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistscan.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2019-07-08 14:51:53 -0400
committerRobert Haas <rhaas@postgresql.org>2019-07-08 14:51:53 -0400
commit554106b1163853757b72ce14d7db5050c32bfa6a (patch)
treea85a29d87c4124e575ad24dc8a5627878b1024aa /src/backend/access/gist/gistscan.c
parent482501d433b9f218d5a117571f1df9aebefe68bb (diff)
downloadpostgresql-554106b1163853757b72ce14d7db5050c32bfa6a.tar.gz
postgresql-554106b1163853757b72ce14d7db5050c32bfa6a.zip
tableam: Provide helper functions for relation sizing.
Most block-based table AMs will need the exact same implementation of the relation_size callback as the heap, and if they use a standard page layout, they will likely need an implementation of the relation_estimate_size callback that is very similar to that of the heap. Rearrange to facilitate code reuse. Patch by me, reviewed by Michael Paquier, Daniel Gustafsson, and Álvaro Herrera. Discussion: http://postgr.es/m/CA+TgmoZ6DBPnP1E-vRpQZUJQijJFD54F+SR_pxGiAAS-MyrigA@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistscan.c')
0 files changed, 0 insertions, 0 deletions