From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: tableam: Allow choice of toast AM.
Date: Tue, 07 Jan 2020 19:26:09 +0000
Message-ID: <E1iouUT-0002lD-SB@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: rhaas@postgresql.org
Subject: Re: pgsql: tableam: Allow choice of toast AM.
In-Reply-To: <E1iouUT-0002lD-SB@gemulon.postgresql.org>
References: <E1iouUT-0002lD-SB@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox