]> granicus.if.org Git - postgresql/commit
tableam: Move heap-specific logic from needs_toast_table below tableam.
authorRobert Haas <rhaas@postgresql.org>
Tue, 21 May 2019 15:57:13 +0000 (11:57 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 21 May 2019 15:57:13 +0000 (11:57 -0400)
commit1171d7d58545f26a402f76a05936d572bf29d53b
tree5850b9d8f0ad037579c1f39d91fbae972b9b4825
parentcf92226e9f7f985a678287167b954a831a3b660c
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
src/backend/access/heap/heapam_handler.c
src/backend/catalog/toasting.c
src/include/access/tableam.h