]> granicus.if.org Git - postgresql/commit
Only allow heap in a number of contrib modules.
authorAndres Freund <andres@anarazel.de>
Mon, 1 Apr 2019 21:57:21 +0000 (14:57 -0700)
committerAndres Freund <andres@anarazel.de>
Mon, 1 Apr 2019 21:57:21 +0000 (14:57 -0700)
commit4b82664156c230b59607704506f5b0a32ef490a2
treeaba59a8ddc7339e1c4139fa01e79e311fd01af61
parentd45e40158623baacd3f36f92a670d435cc1e845f
Only allow heap in a number of contrib modules.

Contrib modules pgrowlocks, pgstattuple and some functionality in
pageinspect currently only supports the heap table AM. As they are all
concerned with low-level details that aren't reasonably exposed via
tableam, error out if invoked on a non heap relation.

Author: Andres Freund
Discussion: https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de
contrib/pageinspect/heapfuncs.c
contrib/pgrowlocks/pgrowlocks.c
contrib/pgstattuple/pgstatapprox.c
contrib/pgstattuple/pgstattuple.c