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

backupccl: add an owner column behind the WITH PRIVILEGES option #59732

Merged
merged 1 commit into from
Feb 3, 2021

Conversation

Elliebababa
Copy link
Contributor

Previously, when users perform RESTORE, they are ignorant of the original owner.

This PR gives ownership data as a column behind privileges.

Resolves: #57906.

Release note: None.

@Elliebababa Elliebababa requested review from pbardea and a team February 2, 2021 23:12
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@pbardea
Copy link
Contributor

pbardea commented Feb 2, 2021

These changes look good! I just had a question about the comment in the test.

Also, since this change has user-facing effects, we should add a release note in the commit message. Something like:
Release note(sql change): Update SHOW BACKUP ... WITH PRIVILEGES to display ownership information of objects in the backup.

@pbardea pbardea self-requested a review February 2, 2021 23:36
@Elliebababa Elliebababa force-pushed the show_backup_owner branch 2 times, most recently from a8511c0 to 251b442 Compare February 2, 2021 23:48
Previously, when users perform RESTORE, they are ignorant of the original owner.

This PR gives ownership data as a column behind privileges.

Resolves: cockroachdb#57906.

Release note(sql change): Update SHOW BACKUP ... WITH PRIVILEGES to display ownership information of objects in the backup.
Copy link
Contributor

@pbardea pbardea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Elliebababa
Copy link
Contributor Author

TFTR!

bors r=pbardea

@craig
Copy link
Contributor

craig bot commented Feb 3, 2021

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

backupccl: version of SHOW BACKUP that gives ownership data
3 participants