-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Closed
Copy link
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botPostgreSQLService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Description
Describe the bug
az postgres flexible-server parameter list --output=table
This only provides the default value and allowed value but not the ACTUAL value. If you're greping this can be a real pain.
Additionally, it switches between TRUE FALSE and true false
In JSON mode, booleans are not booleans, they're uppercase strings.
Related command
az postgres flexible-server parameter list
Errors
N/A
Issue script & Debug output
Nonsensical default columns (actual value missing):
az postgres flexible-server parameter list --resource-group application --server-name production-intel-db-2 --output=table
Name DataType DefaultValue Source AllowedValues
Inconsistent boolean values:
{
"allowedValues": "true, false",
"dataType": "Boolean",
"defaultValue": "false",
"description": "Denotes if pgBouncer service is enabled.",
"documentationLink": "https://www.pgbouncer.org/config.html",
"id": "<redacted>",
"isConfigPendingRestart": false,
"isDynamicConfig": true,
"isReadOnly": false,
"name": "pgbouncer.enabled",
"value": "TRUE"
},Expected behavior
- To show the actual value by default.
- To use booleans consistently.
- Someone to test the DX before shipping.
Environment Summary
{
"azure-cli": "2.73.0",
"azure-cli-core": "2.73.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"aks-preview": "18.0.0b36"
}
}Additional context
No response
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botPostgreSQLService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.