]> granicus.if.org Git - postgresql/commit
tableam: VACUUM and ANALYZE support.
authorAndres Freund <andres@anarazel.de>
Sat, 30 Mar 2019 23:21:09 +0000 (16:21 -0700)
committerAndres Freund <andres@anarazel.de>
Sun, 31 Mar 2019 02:25:58 +0000 (19:25 -0700)
commit737a292b5de296615a715ddce2b2d83d1ee245c5
tree8c65702251ad502964bdd44d85ad24b1a53ee2fa
parent0f5493fdf19306314e7a729750a83b26a3264412
tableam: VACUUM and ANALYZE support.

This is a relatively straightforward move of the current
implementation to sit below tableam. As the current analyze sampling
implementation is pretty inherently block based, the tableam analyze
interface is as well. It might make sense to generalize that at some
point, but that seems like a larger project that shouldn't be
undertaken at the same time as the introduction of tableam.

Author: Andres Freund
Discussion: https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de
src/backend/access/heap/heapam_handler.c
src/backend/commands/analyze.c
src/backend/commands/vacuum.c
src/include/access/tableam.h