© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•2mo ago•
11 replies
tadeegan

How to enable extensions in self hosted

self-hostedCLI
Hello, what is the recommended way of enabling extensions in a self hosted instance programmatically (I use self hosted for integration testing)? If I do it in a migration file, I get the following error:

ERROR: permission denied for function pg_read_file (SQLSTATE 42501)
At statement: 0
-- Enable pgmq extension for message queuing
CREATE EXTENSION IF NOT EXISTS pgmq
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to enable aggregate functions on self hosted supabase.
SupabaseSSupabase / help-and-questions
8mo ago
How can enable discord auth in my self hosted supabase
SupabaseSSupabase / help-and-questions
4w ago
Cannot enable PG_CRON in self hosted Supabase
SupabaseSSupabase / help-and-questions
3y ago
Enable extensions in migration failed
SupabaseSSupabase / help-and-questions
3y ago