pgsql: tableam: Move heap-specific logic from needs_toast_table below t

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: tableam: Move heap-specific logic from needs_toast_table below t
Date: 2019-05-21 16:03:53
Message-ID: E1hT7F3-0006NC-Cu@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

tableam: Move heap-specific logic from needs_toast_table below tableam.

This allows table AMs to completely suppress TOAST table creation, or
to modify the conditions under which they are created.

Patch by me. Reviewed by Andres Freund.

Discussion: http://postgr.es/m/CA+Tgmoa4O2n=yphqD2pERUnYmUO84bH1SqMsA-nSxBGsZ7gWfA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1171d7d58545f26a402f76a05936d572bf29d53b

Modified Files
--------------
src/backend/access/heap/heapam_handler.c | 53 ++++++++++++++++++++++++++++++++
src/backend/catalog/toasting.c | 50 ++----------------------------
src/include/access/tableam.h | 20 ++++++++++++
3 files changed, 76 insertions(+), 47 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2019-05-21 16:23:38 pgsql: Insert temporary debugging output in regression tests.
Previous Message Andres Freund 2019-05-21 16:00:20 Re: pgsql: Make VACUUM accept 1 and 0 as a boolean value.