m2ee-tools icon indicating copy to clipboard operation
m2ee-tools copied to clipboard

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

Open hvisage opened this issue 2 years ago • 0 comments

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

hvisage avatar Aug 22 '23 13:08 hvisage