Skip to main content

Public preview: Azure Database for PostgreSQL – Flexible Server now connects with Azure CLI

Published date: March 31, 2021

Azure Database for PostgreSQL – Flexible Server now provides an improved experience in preview for you to connect to the server using Azure CLI with the “az postgres flexible- server connect” command.  

The “connect” command uses a custom Azure CLI extension “rdbms-connect” that can not only help validate and test your server connection from your client machine, but it can also run queries. This command can be used to run a quick single query with the “—querytext” argument or use it in interactive mode with the “—interactive” argument to run multiple queries for working with Postgres database server.

Learn more about this announcement by reviewing the Command reference in Azure CLI extension for az postgres documentation and the Quickstart tutorial.

  • Azure Database for PostgreSQL
  • Features
  • Management
  • Open Source