Re: pg_migrator issues
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>, Alvaro Herrera <alvherre@commandprompt.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-01-05T16:22:53Z
Lists: pgsql-hackers
Tom Lane wrote: > Robert Haas <robertmhaas@gmail.com> writes: > > On Tue, Jan 5, 2010 at 11:06 AM, Alvaro Herrera > > <alvherre@commandprompt.com> wrote: > >> Tom Lane wrote: > >>> Good point. Using catversion for the purpose seems a bit ugly but > >>> I have no better ideas. > >> > >> I thought we had rejected the idea of being able to migrate between > >> alphas. Is migrating between major versions not difficult enough? > > > We like a challenge. > > The problem with using just major version there is that then we are > *wiring into the on-disk representation* the assumption that pg_migrator > only goes from one major version to the next. I agree that we're not > likely to start supporting cross-alpha-version migration any time soon, > but I don't think it's wise to foreclose the possibility of ever doing > it. I know people are trying to make things easier on pg_migrator, but frankly going from alpha to alpha does not require any new code in pg_migrator. And pg_migrator already supports cross-alpha-version migration just using the existing code --- no new code was added to enable this. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. +