MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.1k stars 21.16k forks source link

how to install pgtap extension in azure postgresql flexible servers #112207

Closed Niba-nazar closed 3 weeks ago

Niba-nazar commented 12 months ago

Hi,

In the Azure PostgreSQL flexible servers, I want to add the pgtap extension. However, I was unable to locate it in 'shared_preload_libraries' or 'azure.extensions'. To verify whether the extension I need is accessible in Azure Flexible Servers, I attempted to submit a support case for the issue. There, I found a query that shows the available Azure Postgresql extensions: "select * from pg_available_extensions;". Version 1.2.0 of pgtap was located there.

So, I tried to create the extension and got the following error. How can I activate the pgtap extension in the Azure portal?

image

=> CREATE EXTENSION pgtap;
ERROR:  extension "pgtap" is not allow-listed for "azure_pg_admin" users in Azure Database for PostgreSQL
HINT:  to see the full allow list of extensions, please run: "show azure.extensions;"

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

RamanathanChinnappan-MSFT commented 12 months ago

@Niba-nazar

It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

Niba-nazar commented 12 months ago

The search term and the URL used are given below: SELECT * FROM pg_available_extensions; https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-extensions

image

shaktisingh-msft commented 11 months ago

Hi @sunilagarwal,

Could you please look into this request, thanks.

Niba-nazar commented 11 months ago

hi, any updates?

Niba-nazar commented 9 months ago

hi,

Any updates?

Also, does the Azure Postgres flexible server support file_fdw? It was not found under 'server parameters'. However, it is listed in 'pg_available_extensions'.

image

markingmyname commented 1 month ago

reassign:@varun-dhawan

nachoalonsoportillo commented 3 weeks ago

Hello @Niba-nazar. Thanks for taking the time to open this issue. Please, check here the list of extensions (and their corresponding versions) that are supported in Flexible Server.

Also, check our section on How to use PostgreSQL extensions in Flexible Server.

If there is some extension you would like us to incorporate in the service and is not there yet, please go to https://aka.ms/PGFeedback, search if somebody asked for it already and vote for it, or create a new idea in that forum so that others can find it and vote for it. We triage those regularly to plan and prioritize work items in our backlog.

nachoalonsoportillo commented 3 weeks ago

please-close