Re: Re: toast by chunk-end (was Re: PG_PAGE_LAYOUT_VERSION 5 - time for change)

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Gregory Stark <stark(at)enterprisedb(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: toast by chunk-end (was Re: PG_PAGE_LAYOUT_VERSION 5 - time for change)
Date: 2008-11-18 16:10:28
Message-ID: 4922E8F4.7070906@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera napsal(a):
> Zdenek Kotala wrote:
>
>> If I'm thinking more, it is not probably CATALOG_VERSION_NO as well.
>> Because toast table is created on demand. It is not in BKI.
>
> It's not catversion in the sense that there's no catalog change, but it
> certainly requires a catversion bump due to internal changes.
> Otherwise, developers who have working data directories today will see
> weird errors when they update to a CVS version after this commit.
>

I understand it but from upgrade point of view it is confusing. When you upgrade
catalog then you catalog will not correspond with toast table structure and
there is no clue if toast table is or is not already converted or which toast
table structure is used.

Zdenek

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2008-11-18 16:19:12 Re: is any reason why only one columns subselect are allowed in array()?
Previous Message Tom Lane 2008-11-18 16:07:53 Re: Updates of SE-PostgreSQL 8.4devel patches (r1197)