Re: Modifying TOAST_TUPLE_THRESHOLD and TOAST_TUPLE_TARGET? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Modifying TOAST_TUPLE_THRESHOLD and TOAST_TUPLE_TARGET?
Date
Msg-id 7946.1248225808@sss.pgh.pa.us
Whole thread Raw
In response to Re: Modifying TOAST_TUPLE_THRESHOLD and TOAST_TUPLE_TARGET?  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-hackers
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> I wrote: 
>> Proposed patch attached.
> That first version was of the "minimally invasive" variety, to stress
> how little I was changing and minimize the chance that I would make
> some dumb error; however, it involved copy/paste of a few lines which
> were already in a source file twice.  Attached is what I hope is a
> functionally identical patch, with minor refactoring.  I think it
> results in more readable code.

Applied with some editorialization on the comments.  I also tweaked the
user-facing TOAST documentation thusly:

*** doc/src/sgml/storage.sgml    17 Jun 2009 21:58:49 -0000    1.29
--- doc/src/sgml/storage.sgml    22 Jul 2009 01:17:23 -0000
***************
*** 347,353 ****       <literal>MAIN</literal> allows compression but not out-of-line       storage.  (Actually,
out-of-linestorage 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.)      </para>     </listitem>    </itemizedlist>
--- 347,353 ----       <literal>MAIN</literal> allows compression but not out-of-line       storage.  (Actually,
out-of-linestorage 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 to fit on a page.)      </para>     </listitem>    </itemizedlist>


        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: generic explain options v3
Next
From: Itagaki Takahiro
Date:
Subject: Re: Sampling profiler updated