Skip to content

1.2.1 - Use current DB owner during restore

Compare
Choose a tag to compare
@dalenewby dalenewby released this 20 Aug 18:23
· 4 commits to main since this release
26fb7ce

Changes

  • Find and use the current database owner when dropping the database during a restore operation. PostgreSQL requires the user executing a DROP DATABASE statement to be the database owner. PostgreSQL databases are initially owned by the user postgres before the ownership is set to the DB user. Restoring data to a brand new database requires a different user than restoring to an existing database.