Review: Needs Fixing

This will fail miserably if someone uses the database (an open cursor is 
enough) to be migrated.

But indeed, the template way is faster and nicer. How about trying that first, 
catch the exception if the db is in use and then do it with pg_dump?
-- 
https://code.launchpad.net/~therp-nl/openupgrade-server/7.0-migrate_script_with_template/+merge/210619
Your team OpenUpgrade Committers is subscribed to branch lp:openupgrade-server.

-- 
Mailing list: https://launchpad.net/~credativ
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~credativ
More help   : https://help.launchpad.net/ListHelp

Reply via email to