From: | "Robert Haas" <robertmhaas(at)gmail(dot)com> |
---|---|
To: | "Zdenek Kotala" <Zdenek(dot)Kotala(at)sun(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [WIP] In-place upgrade |
Date: | 2008-11-04 15:38:32 |
Message-ID: | 603c8f070811040738r4b3f54fap841b4655704a4793@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> I see. But Vacuum and other internals function access heap pages directly
> without ExecStoreTuple.
Right. I don't think there's any getting around the fact that any
function which accesses heap pages directly is going to need
modification. The key is to make those modifications as non-invasive
as possible. For example, in the case of vacuum, as soon as it
detects that a V3 page has been read, it should call a special
function whose only purpose in life is to move the data out of that V3
page and onto one or more V4 pages, and return. What you shouldn't do
is try to make the regular vacuum code handle both V3 and V4 pages,
because that will lead to code that may be slow and will almost
certainly be complicated and difficult to maintain.
I'll read through the rest of this when I have a bit more time.
...Robert
From | Date | Subject | |
---|---|---|---|
Next Message | Ron Mayer | 2008-11-04 15:40:56 | Re: Patch for SQL-Standard Interval output and decoupling DateStyle from IntervalStyle |
Previous Message | Heikki Linnakangas | 2008-11-04 15:32:32 | Re: Transactions and temp tables |