diff options
author | Robert Haas <rhaas@postgresql.org> | 2019-07-08 11:58:05 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2019-09-05 13:15:10 -0400 |
commit | 8b94dab06617ef80a0901ab103ebd8754427ef5a (patch) | |
tree | 84e6f0d7c435ac5d43322e2b28555c6bdea5a336 /doc/src | |
parent | 74a308cf5221f491776fcdb4dc36eb61678dbc6f (diff) | |
download | postgresql-8b94dab06617ef80a0901ab103ebd8754427ef5a.tar.gz postgresql-8b94dab06617ef80a0901ab103ebd8754427ef5a.zip |
Split tuptoaster.c into three separate files.
detoast.c/h contain functions required to detoast a datum, partially
or completely, plus a few other utility functions for examining the
size of toasted datums.
toast_internals.c/h contain functions that are used internally to the
TOAST subsystem but which (mostly) do not need to be accessed from
outside.
heaptoast.c/h contains code that is intrinsically specific to the
heap AM, either because it operates on HeapTuples or is based on the
layout of a heap page.
detoast.c and toast_internals.c are placed in
src/backend/access/common rather than src/backend/access/heap. At
present, both files still have dependencies on the heap, but that will
be improved in a future commit.
Patch by me, reviewed and tested by Prabhat Sabu, Thomas Munro,
Andres Freund, and Álvaro Herrera.
Discussion: http://postgr.es/m/CA+TgmoZv-=2iWM4jcw5ZhJeL18HF96+W1yJeYrnGMYdkFFnEpQ@mail.gmail.com
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/storage.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/storage.sgml b/doc/src/sgml/storage.sgml index 342a0ff7b7e..7802eb82d44 100644 --- a/doc/src/sgml/storage.sgml +++ b/doc/src/sgml/storage.sgml @@ -382,7 +382,7 @@ The oldest and most common type is a pointer to out-of-line data stored in a <firstterm><acronym>TOAST</acronym> table</firstterm> that is separate from, but associated with, the table containing the <acronym>TOAST</acronym> pointer datum itself. These <firstterm>on-disk</firstterm> pointer datums are created by the -<acronym>TOAST</acronym> management code (in <filename>access/heap/tuptoaster.c</filename>) +<acronym>TOAST</acronym> management code (in <filename>access/common/toast_internals.c</filename>) when a tuple to be stored on disk is too large to be stored as-is. Further details appear in <xref linkend="storage-toast-ondisk"/>. Alternatively, a <acronym>TOAST</acronym> pointer datum can contain a pointer to |