-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#25336] YSQL: Disable check_is_install_user
Summary: Vanilla PG expects one user during the upgrade, the bootstrap super user. This defaults to `postgres`, but can be set with the `-U` argument to `initdb`. In Yugabyte, the upgrade might be run by different Yugabyte users. Rather than try to capture every possible yugabyte user and rewriting the check to that, we can just ignore the user check. Since we control the creation of the new cluster, we don't have to be as vigilant against weird cases as Postgres does. Fixes #25336 Jira: DB-14549 Test Plan: ``` ./yb_build.sh release --cxx-test pg15_upgrade-test ``` Reviewers: hsunder Reviewed By: hsunder Subscribers: yql Differential Revision: https://phorge.dev.yugabyte.com/D40726
- Loading branch information
Showing
2 changed files
with
13 additions
and
14 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