1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00

Tweak TOAST code so that columns marked with MAIN storage strategy are

not forced out-of-line unless that is necessary to make the row fit on a
page.  Previously, they were forced out-of-line if needed to get the row
down to the default target size (1/4th page).

Kevin Grittner
This commit is contained in:
Tom Lane
2009-07-22 01:21:22 +00:00
parent a5375bf903
commit ca7c8168de
3 changed files with 33 additions and 18 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/storage.sgml,v 1.29 2009/06/17 21:58:49 tgl Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/storage.sgml,v 1.30 2009/07/22 01:21:22 tgl Exp $ -->
<chapter id="storage">
@ -347,7 +347,7 @@ The <acronym>TOAST</> code recognizes four different strategies for storing
<literal>MAIN</literal> allows compression but not out-of-line
storage. (Actually, out-of-line storage will still be performed
for such columns, but only as a last resort when there is no other
way to make the row small enough.)
way to make the row small enough to fit on a page.)
</para>
</listitem>
</itemizedlist>