Обсуждение: pgsql: Only allow heap in a number of contrib modules.

Поиск
Список
Период
Сортировка

pgsql: Only allow heap in a number of contrib modules.

От
Andres Freund
Дата:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4b82664156c230b59607704506f5b0a32ef490a2

Modified Files
--------------
contrib/pageinspect/heapfuncs.c    | 5 +++++
contrib/pgrowlocks/pgrowlocks.c    | 5 +++++
contrib/pgstattuple/pgstatapprox.c | 7 ++++++-
contrib/pgstattuple/pgstattuple.c  | 7 ++++++-
4 files changed, 22 insertions(+), 2 deletions(-)