Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id C765263403E for ; Tue, 21 Jul 2009 22:21:34 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 14939-04 for ; Tue, 21 Jul 2009 22:21:24 -0300 (ADT) Received: from cvs.postgresql.org (cvs.postgresql.org [217.196.146.206]) by mail.postgresql.org (Postfix) with ESMTP id 4D5BA632953 for ; Tue, 21 Jul 2009 22:21:24 -0300 (ADT) Received: by cvs.postgresql.org (Postfix, from userid 1007) id 5F9E275331E; Wed, 22 Jul 2009 01:21:22 +0000 (UTC) MIME-Version: 1.0 To: pgsql-committers@postgresql.org Subject: pgsql: Tweak TOAST code so that columns marked with MAIN storage X-Mailer: activitymail 1.24, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain Message-Id: <20090722012122.5F9E275331E@cvs.postgresql.org> Date: Wed, 22 Jul 2009 01:21:22 +0000 (UTC) From: tgl@postgresql.org (Tom Lane) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200907/199 X-Sequence-Number: 37802 Log Message: ----------- 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 Modified Files: -------------- pgsql/doc/src/sgml: storage.sgml (r1.29 -> r1.30) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/storage.sgml?r1=1.29&r2=1.30) pgsql/src/backend/access/heap: tuptoaster.c (r1.93 -> r1.94) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/tuptoaster.c?r1=1.93&r2=1.94) pgsql/src/include/access: tuptoaster.h (r1.43 -> r1.44) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/access/tuptoaster.h?r1=1.43&r2=1.44)