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

Robert Haas <rhaas@postgresql.org>

Commit: 1171d7d58545f26a402f76a05936d572bf29d53b
Author: Robert Haas <rhaas@postgresql.org>
Date: 2019-05-21T15:57:13Z
Releases: 12.0
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

Files

Discussion