pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Christopher Browne <cbbrowne@acm.org>
Cc: pgsql-docs@postgresql.org
Subject: Re: [GENERAL] TOAST not working
Date: Sat, 10 Jun 2006 22:15:14 -0500
Message-ID: <20060611031514.GB34196@pervasive.com> (raw)
In-Reply-To: <4763.1149994729@sss.pgh.pa.us>
References: <1149944622.15368.38.camel@vaio1linux>
	<87bqt03efl.fsf@wolfe.cbbrowne.com>
	<20060611021215.GC83625@pervasive.com>
	<4763.1149994729@sss.pgh.pa.us>

Dropping -general

On Sat, Jun 10, 2006 at 10:58:49PM -0400, Tom Lane wrote:
> "Jim C. Nasby" <jnasby@pervasive.com> writes:
> > Actually, it's BLCKSZ/4. From
> > http://www.postgresql.org/docs/8.1/interactive/storage-toast.html:
> 
> > "The TOAST code is triggered only when a row value to be stored in a
> > table is wider than BLCKSZ/4 bytes (normally 2Kb)."
> 
> > BTW, 'row value' seems a bit prone to confusion (could be interpreted as
> > the row itself). It'd probably be better to say 'field'.
> 
> No, because that would be wrong; the statement is correct as written.
> The toaster tries to do something about rows that are wider than
> BLCKSZ/4 (well, actually MaxTupleSize/4 ... try grepping the source
> for TOAST_TUPLE_THRESHOLD).
 
I'll argue that the docs are still confusing though, since 'row value'
could be interpreted as 'field', especially since the first paragraph
contains "In release 7.1 and later, this limit is overcome by allowing
large field values to be compressed and/or broken up into multiple
physical rows."
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (9+ messages)  latest in thread

Message-ID: <20060611031514.GB34196@pervasive.com>
Permalink:  ../20060611031514.GB34196@pervasive.com/
Also on:    postgresql.org/message-id/20060611031514.GB34196@pervasive.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: jnasby@pervasive.com, tgl@sss.pgh.pa.us, cbbrowne@acm.org
  Subject: Re: [GENERAL] TOAST not working
  In-Reply-To: <20060611031514.GB34196@pervasive.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox