-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[RDBMS] az postgres flexible-server upgrade: Allow major version upgrade to PostgreSQL Version 18
#32565
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
Conversation
️✔️AzureCLI-FullTest
|
|
| rule | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| postgres flexible-server upgrade | cmd postgres flexible-server upgrade update parameter version: updated property choices from ['13', '14', '15', '16', '17'] to ['13', '14', '15', '16', '17', '18'] |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
|
@evelyn-ys please trigger checks and review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds support for upgrading PostgreSQL flexible servers to version 18 by extending the allowed major version upgrades from PostgreSQL 11-17 to include version 18.
- Updated the version enumeration to include PostgreSQL version 18 for the upgrade command
- Updated help text examples to demonstrate upgrading to PostgreSQL version 18
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
_params.py |
Added '18' to the PostgreSQL version upgrade argument type enumeration |
_helptext_pg.py |
Updated examples to demonstrate PostgreSQL version 18 usage in server creation and upgrade commands |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
@evelyn-ys please merge |
Related command
az postgres flexible-server upgradeDescription
Perform in-place major version upgrades from PostgreSQL 11–17 with no endpoint or connection string changes.
Testing Guide
History Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.