Re: Removing pg_migrator limitations

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Greg Stark <stark(at)mit(dot)edu>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Subject: Re: Removing pg_migrator limitations
Date: 2009-12-27 22:15:28
Message-ID: 200912272215.nBRMFSD04160@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg Stark wrote:
> On Sun, Dec 27, 2009 at 8:13 PM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> > Well, I think the checksums are going in the item pointers, so there
> > isn't any new storage space --- my guess is that the page version number
> > will control how the backend stores the checksum. ?Basically the backend
> > will need to read old and new page versions. ?I don't think this is
> > something pg_migrator can handle cleanly.
>
> I thought our plan was to only read old page versions and
> automatically rewrite them to new page versions. We'll have to add the
> hooks and the page rewrite code to do that, no?

Well, the idea of only reading the old version is so we didn't have to
carry around a lot of type-specific information in the backend, but I am
not sure if that applies to a hint bit change.

> Is that something we're comfortable adding in the final commitfest?

Uh, no idea. It would be nice, of course.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-12-27 22:51:09 Re: Removing pg_migrator limitations
Previous Message Simon Riggs 2009-12-27 22:10:09 Re: Small locking bugs in hs