pgsql: tableam: Move heap-specific logic from needs_toast_table belowt - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: tableam: Move heap-specific logic from needs_toast_table belowt
Date
Msg-id E1hT7F3-0006NC-Cu@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: Make VACUUM accept 1 and 0 as a boolean value.
Next
From: Tom Lane
Date:
Subject: pgsql: Insert temporary debugging output in regression tests.