CG <cgg007(at)yahoo(dot)com> writes:
> While transitioning from 8.1 to 8.4, I need totransition tothe internal UUID type in place of the contrib/uniqueidentifier module. I've built the database around uniqueidentifier, so nearly every table has one column of that data type. It's going to be tedious to
> ALTER TABLE foo ALTER COLUMN bar SET DATA TYPE uuid;
> ...repeat 600 times...
> I'llalso have to dropand reload theviews and the rules on tables. It'll be tedious even if the tables have no data in them.
> Can anyone recommenda better/faster way to make the transition?
Couldn't you rename the type to uuid in the 8.1 database before you
dump?
regards, tom lane