Conversation
️✔️AzureCLI-FullTest
|
|
Hi @nasc17, |
️✔️AzureCLI-BreakingChangeTest
|
|
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 |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
evelyn-ys
left a comment
There was a problem hiding this comment.
Please don't forget to remove the upcoming breaking change announcement added in https://github.com/Azure/azure-cli/pull/32341/files
Will remove once last PR of changes are sent out |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
@kairu-ms @necusjz @wangzelin007 Single Server has been deprecated and this PR is removing all commands associated with the resource. Because of this had to edit test file in networking. |
There was a problem hiding this comment.
Pull Request Overview
This PR removes PostgreSQL Single Server support from the Azure CLI RDBMS module, as part of the service retirement scheduled for March 28, 2025. The changes focus on removing PostgreSQL-specific code while preserving MySQL and MariaDB functionality.
Key changes:
- Removed all PostgreSQL Single Server test cases and test recordings
- Eliminated PostgreSQL-specific imports, client factories, and command definitions
- Removed PostgreSQL retirement warning messages and connection string generation
- Cleaned up PostgreSQL-related parameters and validators
Reviewed Changes
Copilot reviewed 11 out of 15 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| test_rdbms_commands.py | Removed PostgreSQL server management tests and replica tests |
| test_postgrsql_*.yaml | Deleted PostgreSQL test recording files |
| test_private_endpoint_commands.py | Removed PostgreSQL private link scenario test |
| custom.py | Removed PostgreSQL server operations and warning messages |
| commands.py | Removed PostgreSQL command group definitions |
| _client_factory.py | Removed PostgreSQL client factory functions |
| _util.py | Updated firewall rule creation to remove PostgreSQL logic |
| _params.py | Removed PostgreSQL-specific parameters |
| _helptext_pg.py | Added placeholder help text for postgres group |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
az postgres server, az postgres db, az postgres server-logs: Removal of single server commandsaz postgres server/db/server-logs: Removal of single server commands
Related command
az postgres server, az postgres db, az postgres server-logsDescription
Azure Database for PostgreSQL Single Server is deprecated.
All commands under the Postgres server removed.
Testing Guide

Manual
History Notes
[RDBMS] BREAKING CHANGE:
az postgres server/db/server-logs: Removal of single server commands