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

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Only allow heap in a number of contrib modules.
Date: 2019-04-01 22:05:05
Message-ID: E1hB53B-0000xM-BK@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2019-04-02 01:26:59 Re: pgsql: Compute XID horizon for page level index vacuum on primary.
Previous Message Andres Freund 2019-04-01 21:45:20 pgsql: tableam: Add table_finish_bulk_insert().