"Florian G. Pflug" <[EMAIL PROTECTED]> writes: > Why would a pg_migrator style upgrade use pg_dump at all? I assumed it > would rather copy the verbatim data from the old to the new catalog, > only changing it if the layout of the tables in pg_catalog actually changed.
The way pg_migrator works is does a pg_dump to move the schema to the new postgres. Then it transfers the files and drops them into place where the new schema expects to find them. So yes, there would be a use case for specifying the physical column layout when pg_migrator is doing the pg_dump/restore. But pg_migrator could probably just update the physical column numbers itself. It's not like updating system catalog tables directly is any more of an abstraction violation than swapping files out from under the database... -- Gregory Stark EnterpriseDB http://www.enterprisedb.com ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings