Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the original owner of the database when running a restore #43

Open
rafaelma opened this issue Nov 19, 2015 · 0 comments
Open

Change the original owner of the database when running a restore #43

rafaelma opened this issue Nov 19, 2015 · 0 comments

Comments

@rafaelma
Copy link
Owner

We can change the name of the target database but not of the target owner, fix this.

We can use --role=ROLENAME and -O, --no-owner in the extra parameters field to define a new owner of the objects in the database. But the CREATE DATABASE command uses the original owner of the database, we have to change this if the user uses a --role / -O under the restoration of a backup.

@rafaelma rafaelma added this to the 1.2.0 milestone Dec 22, 2015
@rafaelma rafaelma modified the milestones: 1.3.0, 1.2.0 Aug 18, 2016
@rafaelma rafaelma added the 1.3.0 label Jun 13, 2017
@rafaelma rafaelma removed this from the 1.3.0 milestone Jun 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant