-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
71890: backup/restore: Remove dependencies on defaultdb and postgres for full cluster destore r=adityamaru a=RichardJCai Previously we hardcoded some cases where defaultdb and postgres were assumed to be present during the full cluster restore. With this change, we make it so we treat defaultdb/postgres to be regular databases for restore - they are dropped before the restore happens. Additionally pg_temp_schemas are now restored to their original parent db and not defaultdb. Release note (bulkio): temporary tables are now restored to their original database instead of defaultdb during a full cluster restore. Resolve #71479 72403: sqlproxy: add a hint to the error returned by the connection throttle r=JeffSwenson a=JeffSwenson The most common cause of connection throttling is a misconfigured user or password. Providing a hint should make it clear to a user what they need to do to fix it. There was a bug in the toPgError handler that prevented it from handling hints properly. It was taking hints from the internal code error instead of the wrapping error. Release note: None Co-authored-by: richardjcai <[email protected]> Co-authored-by: Jeff <[email protected]>
- Loading branch information
Showing
14 changed files
with
245 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.