Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[01-postgres] Add instructions to allow-list the postgis extension #81

Open
asw101 opened this issue May 20, 2022 · 0 comments
Open

[01-postgres] Add instructions to allow-list the postgis extension #81

asw101 opened this issue May 20, 2022 · 0 comments

Comments

@asw101
Copy link
Collaborator

asw101 commented May 20, 2022

Error via Microsoft Open Source Discord:

File ".\azure-python-labs\01-postgres\pg-lab.py", line 30, in loadData
    cursor.execute('CREATE EXTENSION IF NOT EXISTS postgis')psycopg2.errors.FeatureNotSupported: extension "postgis" 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;"

The extension will need to be allow-listed per https://docs.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-extensions#how-to-use-postgresql-extensions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant