How to enable extensions for Postgres Flexible Server without using psql client

Koh, Hong D. (MBLQ 91)
0
Reputation points
Currently, enabling an extension for Postgres Flexible Server is done through several steps, of which we need to run the SQL command CREATE EXTENSION <EXTENSION_NAME>
after server is started with a psql
client.
We are thinking of automating the whole process such that we can enable an extension without having to do any additional step of spinning up a container instance or virtual machine, connect through AAD with a service principal just to run the command.
Would Azure ever support this use case of running some SQL commands on startup without having to spin up other resources?
{count} votes
Hi @Koh, Hong D. (MBLQ 91,
Thanks for your patience.
Could you please share with us the steps you are following to enable extension?
Hi @Koh, Hong D. (MBLQ 91,
We have not heard back from you.
Could you please share the steps so that we can help. Thanks