Re: tableam vs. TOAST
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Andres Freund <andres@anarazel.de>,
Alvaro Herrera <alvherre@2ndquadrant.com>, Prabhat Sahu <prabhat.sahu@enterprisedb.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-12-18T16:37:43Z
Lists: pgsql-hackers
Attachments
- v11-0002-tableam-New-callback-relation_fetch_toast_slice.patch (application/octet-stream) patch v11-0002
- v11-0001-tableam-Allow-choice-of-toast-AM.patch (application/octet-stream) patch v11-0001
On Tue, Dec 17, 2019 at 4:12 PM Robert Haas <robertmhaas@gmail.com> wrote: > Hearing no further comments, I went ahead and pushed 0002 today. That > turned out to have a bug, so I pushed a fix for that. Hopefully the > buildfarm will agree that it's fixed. > > Meanwhile, here are the remaining patches again, rebased over the bug fix. OK, I've now pushed the last of the refactoring patches. Here are the two main patches back, which are actually quite small, though the second one looks bigger than it is because it moves a function from detoast.c into heaptoast.c. This is slightly rebased again because the other refactoring patch I just pushed had a couple of typos which I fixed. If nobody has further comments or objections, I plan to commit these in early January. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
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