supabase / postgres

Unmodified Postgres with some useful plugins

Home Page:https://supabase.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to enable dblink: failed to create pg.extensions: permission denied to create extension "dblink"

RafiulM opened this issue · comments

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

I'm trying to enable the dblink extension from the supabase dashboard and it's giving me this error

Failed to enable dblink: failed to create pg.extensions: permission denied to create extension "dblink"

To Reproduce

Go to supabase project dashboard > database > extensions > dblink

Expected behavior

The dblink extension should be enabled

Screenshots

Screenshot 2024-01-22 at 12 05 49

Additional context

I need dblink enabled to be able to connect to the remote db from my supabase local dev environment. Currently when I run supase db push it returns:

ERROR: permission denied to create extension "dblink" (SQLSTATE 42501)          
At statement 2: create extension if not exists "dblink" with schema "extensions"