pgsql: Tweak toast-related logic in heapam.c so that the toaster is only

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tweak toast-related logic in heapam.c so that the toaster is only
Date: 2007-10-16 17:05:26
Message-ID: 20071016170526.21F18754229@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Tweak toast-related logic in heapam.c so that the toaster is only invoked
when relkind = RELKIND_RELATION. This syncs these tests with the Asserts
in tuptoaster.c, and ensures that we won't ever try to, for example,
compress a sequence's tuple. Problem found by Greg Stark while stress-testing
with much-smaller-than-normal page sizes.

Modified Files:
--------------
pgsql/src/backend/access/heap:
heapam.c (r1.242 -> r1.243)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/heapam.c?r1=1.242&r2=1.243)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-10-16 17:23:37 Re: [COMMITTERS] pgsql: Re-allow UTF8 encodings on win32.
Previous Message Tom Lane 2007-10-16 16:01:26 Re: pgsql: Add sample text search dictionary templates and parsers, to