pgsql: tableam: Allow choice of toast AM.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: tableam: Allow choice of toast AM.
Date: 2020-01-07 19:26:09
Message-ID: E1iouUT-0002lD-SB@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

tableam: Allow choice of toast AM.

Previously, the toast table had to be implemented by the same AM that
was used for the main table, which was bad, because the detoasting
code won't work with anything but heap. This commit doesn't fix the
latter problem, although there's another patch coming which does,
but it does let you pick something that works (i.e. heap, right now).

Patch by me, reviewed by Andres Freund.

Discussion: http://postgr.es/m/CA+TgmoZv-=2iWM4jcw5ZhJeL18HF96+W1yJeYrnGMYdkFFnEpQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/83322e38da1aa054e1b144cb37e6074a86854199

Modified Files
--------------
src/backend/access/heap/heapam_handler.c | 10 ++++++++++
src/backend/catalog/toasting.c | 2 +-
src/include/access/tableam.h | 17 +++++++++++++++++
3 files changed, 28 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2020-01-07 19:37:20 pgsql: tableam: New callback relation_fetch_toast_slice.
Previous Message Robert Haas 2020-01-07 17:21:22 pgsql: Increase the maximum value of track_activity_query_size.