File tree 2 files changed +10
-6
lines changed
2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 58
58
</para>
59
59
<para>
60
60
Tuple deforming is the process of transforming an on-disk tuple (see <xref
61
- linkend="heaptuple "/>) into its in-memory representation. It can be
62
- accelerated by creating a function specific to the table layout and the
63
- number of columns to be extracted.
61
+ linkend="storage-tuple-layout "/>) into its in-memory representation.
62
+ It can be accelerated by creating a function specific to the table layout
63
+ and the number of columns to be extracted.
64
64
</para>
65
65
</sect2>
66
66
Original file line number Diff line number Diff line change @@ -875,8 +875,7 @@ data. Empty in ordinary tables.</entry>
875
875
<filename>src/include/storage/bufpage.h</filename>.
876
876
</para>
877
877
878
- <para id="heaptuple">
879
-
878
+ <para>
880
879
Following the page header are item identifiers
881
880
(<type>ItemIdData</type>), each requiring four bytes.
882
881
An item identifier contains a byte-offset to
@@ -909,14 +908,18 @@ data. Empty in ordinary tables.</entry>
909
908
<para>
910
909
911
910
The final section is the <quote>special section</quote> which can
912
- contain anything the access method wishes to store. For example,
911
+ contain anything the access method wishes to store. For example,
913
912
b-tree indexes store links to the page's left and right siblings,
914
913
as well as some other data relevant to the index structure.
915
914
Ordinary tables do not use a special section at all (indicated by setting
916
915
<structfield>pd_special</structfield> to equal the page size).
917
916
918
917
</para>
919
918
919
+ <sect2 id="storage-tuple-layout">
920
+
921
+ <title>Table Row Layout</title>
922
+
920
923
<para>
921
924
922
925
All table rows are structured in the same way. There is a fixed-size
@@ -1040,6 +1043,7 @@ data. Empty in ordinary tables.</entry>
1040
1043
it might be compressed, too (see <xref linkend="storage-toast"/>).
1041
1044
1042
1045
</para>
1046
+ </sect2>
1043
1047
</sect1>
1044
1048
1045
1049
</chapter>
You can’t perform that action at this time.
0 commit comments