mendix / m2ee-tools

m2ee, the Mendix runtime helper tools for GNU/Linux
Other
27 stars 40 forks source link

Adding "--clean", "--if-exists" for pgrestore #70

Open hvisage opened 1 year ago

hvisage commented 1 year ago

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