Extension "timescaledb" is not allow-listed for "azure_pg_admin" users in Azure Database for PostgreSQL (Flexible)

Jonas 21 Reputation points
2022-09-17T15:20:21.343+00:00

I followed this guide for enabling TimescaleDB for Azure Database for PostgreSQL Flexible (PostgreSQL 14):

https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-extensions#installing-timescaledb

The following sites also lists its as available:
https://learn.microsoft.com/de-de/azure/postgresql/single-server/concepts-extensions

But after adding it to libs an restarting I get the following error when I try to add the extension in Postgres:

ERROR: extension "timescaledb" is not allow-listed for "azure_pg_admin" users in Azure Database for PostgreSQL

How can I fix that?

(For now I am using old single server variant but this only has PostgreSQL 11 with old TimescalDB version)

Azure Database for PostgreSQL
0 comments No comments
{count} votes

Accepted answer
  1. GeethaThatipatri-MSFT 29,377 Reputation points Microsoft Employee
    2022-09-18T22:52:25.297+00:00

    Hi, @Jonas Welcome to the Microsoft Q&A forum, Thanks for posting your question and for using Azure services.
    As we understand the ask here is you are trying to enable timescaledDB for PostgreSQL Flexible (PostgreSQL 14) and you are receiving the error
    I think that you have added shared_preload_libraries,however, you also need to add the timescaledb under server parameters search for azure.extensions as shown below
    242237-image.png

    Once this is added connect to your database and run the query

    242285-image.png

    Please let me know if you need any additional information.

    Regards
    Geetha

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.