Re: tableam vs. TOAST
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>, Prabhat Sahu <prabhat.sahu@enterprisedb.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-09-05T20:07:20Z
Lists: pgsql-hackers
On 2019-09-05 15:27:28 -0400, Robert Haas wrote: > On Thu, Sep 5, 2019 at 3:10 PM Andres Freund <andres@anarazel.de> wrote: > > On 2019-09-05 13:42:40 -0400, Robert Haas wrote: > > > Done, thanks. Here's the rest again with the additional rename added > > > to 0003 (formerly 0004). I think it's probably OK to go ahead with > > > that stuff, too, but I'll wait a bit to see if anyone wants to raise > > > more objections. > > > > Well, I still dislike making the toast chunk size configurable in a > > halfhearted manner. > > So, I'd be willing to look into that some more. But how about if I > commit the next patch in the series first? I think this comment is > really about the second patch in the series, "Allow TOAST tables to be > implemented using table AMs other than heap," and it's fair to point > out that, since that patch extends table AM, we're somewhat committed > to it once we put it in. But "Create an API for inserting and > deleting rows in TOAST tables." is just refactoring, and I don't see > what we gain from waiting to commit that part. Yea, makes sense to me.
Commits
-
tableam: New callback relation_fetch_toast_slice.
- ce242ae154dd 13.0 landed
-
tableam: Allow choice of toast AM.
- 83322e38da1a 13.0 landed
-
Move heap-specific detoasting logic into a separate function.
- e9fd0415e6e2 13.0 landed
-
Code cleanup for toast_fetch_datum and toast_fetch_datum_slice.
- d5406dea25b6 13.0 landed
-
Rename some toasting functions based on whether they are heap-specific.
- 2e8b6bfa90b2 13.0 landed
-
Create an API for inserting and deleting rows in TOAST tables.
- bd124996ef0d 13.0 landed
-
Split tuptoaster.c into three separate files.
- 8b94dab06617 13.0 landed
-
tableam: Move heap-specific logic from needs_toast_table below tableam.
- 1171d7d58545 12.0 cited