ha-jdbc/ha-jdbc — pull request #28 by sjones4 (2013-09-13 05:45:25+00:00)
Title: Add option to clean postgres DB when restoring

Without the "-c" option database restore can fail if there is an existing schema.

'Clean (drop) database objects before recreating them. (This might
generate some harmless error messages, if any objects were not present
in the destination database.)'

http://www.postgresql.org/docs/9.2/static/app-pgrestore.html