git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 737a292) | patch
tableam: Move heap specific logic from estimate_rel_size below tableam.
2019年3月30日 23:40:33 +0000 (16:40 -0700)
2019年3月31日 02:26:36 +0000 (19:26 -0700)
commit 696d78469f3714a8159f7a145af1fe9179fe3291
tableam: Move heap specific logic from estimate_rel_size below tableam.

This just moves the table/matview[/toast] determination of relation
size to a callback, and uses a copy of the existing logic to implement
that callback for heap.

It probably would make sense to also move the index specific logic
into a callback, so the metapage handling (and probably more) can be
index specific. But that's a separate task.

Author: Andres Freund
Discussion: https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de
src/backend/access/heap/heapam_handler.c diff | blob | blame | history
src/backend/optimizer/util/plancat.c diff | blob | blame | history
src/include/access/tableam.h diff | blob | blame | history
src/include/optimizer/plancat.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /