An Azure managed PostgreSQL database service for app development and deployment.
The behaviour you are seeing suggests that citus_columnar is currently not exposed as a supported feature on azure db for PostgreSQL Flexible Server Elastic Clusters.
A key point is that the presence of citus_columnar in pg_available_extensions only indicates that the extension metadata exists in the PostgreSQL image. It does not guarantee that the extension is customer-installable on the managed service. [learn.microsoft.com]
The decisive indicator is the error: ERROR: extension "citus_columnar" is not allow-listed for "azure_pg_admin"
This is an Azure service-level restriction rather than a PostgreSQL or Citus permission issue. [learn.microsoft.com]
It is also worth distinguishing between: CREATE EXTENSION citus_columnar;
&
CREATE TABLE mytable (...) USING columnar;
Open-source Citus supports columnar storage, but the underlying columnar access method must be enabled by the service. If citus_columnar is not allow-listed, customers cannot enable that capability themselves. [learn.microsoft.com]
Based on the currently published Elastic Cluster documentation and the behaviour you observed:
One additional point: although columnar tables were available in the retired Azure Cosmos DB for PostgreSQL service, that does not necessarily imply feature parity with Azure Database for PostgreSQL Elastic Clusters. Managed-service capabilities can differ from those available in upstream Citus or predecessor Azure offerings. [learn.microsoft.com]
Help make this community better for everyone: if this answer resolved your issue, please accept it or leave an upvote. If not, share more details in a comment so we can continue the discussion and find the right solution.