Skip to content

[RDBMS] BREAKING CHANGE: az postgres server/db/server-logs: Removal of single server commands#32388

Merged
evelyn-ys merged 4 commits intoAzure:devfrom
nasc17:nasc/removeSingleServer114
Nov 6, 2025
Merged

[RDBMS] BREAKING CHANGE: az postgres server/db/server-logs: Removal of single server commands#32388
evelyn-ys merged 4 commits intoAzure:devfrom
nasc17:nasc/removeSingleServer114

Conversation

@nasc17
Copy link
Member

@nasc17 nasc17 commented Nov 5, 2025

Related command
az postgres server, az postgres db, az postgres server-logs

Description
Azure Database for PostgreSQL Single Server is deprecated.
All commands under the Postgres server removed.

Testing Guide
Manual
image

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

@nasc17 nasc17 requested a review from evelyn-ys as a code owner November 5, 2025 18:19
Copilot AI review requested due to automatic review settings November 5, 2025 18:19
@nasc17 nasc17 requested a review from calvinhzy as a code owner November 5, 2025 18:19
@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Nov 5, 2025

️✔️AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.13
️✔️acs
️✔️latest
️✔️3.12
️✔️3.13
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.13
️✔️ams
️✔️latest
️✔️3.12
️✔️3.13
️✔️apim
️✔️latest
️✔️3.12
️✔️3.13
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.13
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️aro
️✔️latest
️✔️3.12
️✔️3.13
️✔️backup
️✔️latest
️✔️3.12
️✔️3.13
️✔️batch
️✔️latest
️✔️3.12
️✔️3.13
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.13
️✔️billing
️✔️latest
️✔️3.12
️✔️3.13
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.13
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.13
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.13
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.13
️✔️config
️✔️latest
️✔️3.12
️✔️3.13
️✔️configure
️✔️latest
️✔️3.12
️✔️3.13
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.13
️✔️container
️✔️latest
️✔️3.12
️✔️3.13
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.13
️✔️core
️✔️latest
️✔️3.12
️✔️3.13
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.13
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.13
️✔️dls
️✔️latest
️✔️3.12
️✔️3.13
️✔️dms
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.13
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.13
️✔️find
️✔️latest
️✔️3.12
️✔️3.13
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.13
️✔️identity
️✔️latest
️✔️3.12
️✔️3.13
️✔️iot
️✔️latest
️✔️3.12
️✔️3.13
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.13
️✔️lab
️✔️latest
️✔️3.12
️✔️3.13
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️maps
️✔️latest
️✔️3.12
️✔️3.13
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.13
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.13
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.13
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.13
️✔️network
️✔️latest
️✔️3.12
️✔️3.13
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.13
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.13
️✔️profile
️✔️latest
️✔️3.12
️✔️3.13
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.13
️✔️redis
️✔️latest
️✔️3.12
️✔️3.13
️✔️relay
️✔️latest
️✔️3.12
️✔️3.13
️✔️resource
️✔️latest
️✔️3.12
️✔️3.13
️✔️role
️✔️latest
️✔️3.12
️✔️3.13
️✔️search
️✔️latest
️✔️3.12
️✔️3.13
️✔️security
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.13
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.13
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.13
️✔️sql
️✔️latest
️✔️3.12
️✔️3.13
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.13
️✔️storage
️✔️latest
️✔️3.12
️✔️3.13
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.13
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.13
️✔️util
️✔️latest
️✔️3.12
️✔️3.13
️✔️vm
️✔️latest
️✔️3.12
️✔️3.13

@azure-client-tools-bot-prd
Copy link

Hi @nasc17,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@nasc17 nasc17 requested review from nachoalonsoportillo and removed request for Copilot November 5, 2025 18:19
@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Nov 5, 2025

️✔️AzureCLI-BreakingChangeTest
️✔️Non Breaking Changes

@yonzhan
Copy link
Collaborator

yonzhan commented Nov 5, 2025

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link

github-actions bot commented Nov 5, 2025

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).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@nasc17
Copy link
Member Author

nasc17 commented Nov 5, 2025

@evelyn-ys Please trigger checks

@yonzhan
Copy link
Collaborator

yonzhan commented Nov 6, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

Copy link
Member

@evelyn-ys evelyn-ys left a comment

Choose a reason for hiding this comment

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

Please don't forget to remove the upcoming breaking change announcement added in https://github.com/Azure/azure-cli/pull/32341/files

@nasc17
Copy link
Member Author

nasc17 commented Nov 6, 2025

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

Copilot AI review requested due to automatic review settings November 6, 2025 04:51
@nasc17 nasc17 requested a review from jsntcy as a code owner November 6, 2025 04:51
@evelyn-ys
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@nasc17
Copy link
Member Author

nasc17 commented Nov 6, 2025

@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.

Copy link
Contributor

Copilot AI left a 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 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.

@evelyn-ys evelyn-ys changed the title {RDBMS} BREAKING CHANGE az postgres server, az postgres db, az postgres server-logs: Removal of single server commands [RDBMS] BREAKING CHANGE: az postgres server/db/server-logs: Removal of single server commands Nov 6, 2025
Copy link
Member

@nachoalonsoportillo nachoalonsoportillo left a comment

Choose a reason for hiding this comment

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

LGTM

@evelyn-ys evelyn-ys merged commit 27f4437 into Azure:dev Nov 6, 2025
53 of 54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto-Assign Auto assign by bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants