Re: Removing pg_migrator limitations

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joe Conway <mail@joeconway.com>
Cc: Andrew Dunstan <andrew@dunslane.net>, Bruce Momjian <bruce@momjian.us>, PostgreSQL-development <pgsql-hackers@postgresql.org>, Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2009-12-19T01:39:10Z
Lists: pgsql-hackers
Joe Conway <mail@joeconway.com> writes:
> I like this approach overall, but wonder if it would be better to do:
> 	select pg_migrator_set_next_oid('table', 123456);
> 	select pg_migrator_set_next_oid('type', 12347);
> 	select pg_migrator_set_next_oid('toast_table', 123458);
> etc. Later we could easily add other supported objects...

Yeah, Bruce was just suggesting the same.  I do like that part of what
he mentioned, just because it'll be fewer special functions to add and
drop in pg_migrator.

			regards, tom lane