m2ee-tools
m2ee-tools copied to clipboard
Adding "--clean", "--if-exists" for pgrestore
Adding this is "needed" when there are objects that haven't been cleared yet like stored procedures.
Note: this is needed on the pg_restore side, as the normal m2ee dumpdb format is the custom archive (with compression) and not the plain text, which needs it on the pg_dump side as that gets loaded with a psql not pg_restore