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

Document the privileges required to run pgroll #367

Open
divyenduz opened this issue Jul 8, 2024 · 2 comments
Open

Document the privileges required to run pgroll #367

divyenduz opened this issue Jul 8, 2024 · 2 comments
Labels
good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed

Comments

@divyenduz
Copy link

I am trying to initialize pgroll on a local Postgres (running via docker using supabase/postgres image). I get the following error:

pgroll init --postgres-url 'postgres://postgres:postgres@localhost:5432/cal?sslmode=disable'
  ERROR   Failed to initialize pgroll: pq: permission denied to create event trigger "pg_roll_handle_ddl"
Error: pq: permission denied to create event trigger "pg_roll_handle_ddl"

What are the privileges to run pgroll init (and for it to function properly)?

@clarkbw
Copy link

clarkbw commented Aug 5, 2024

Supabase doesn't support event triggers, CREATE EVENT TRIGGER https://supabase.com/docs/guides/database/postgres/roles-superuser

@exekias exekias added good first issue Good for newcomers help wanted Extra attention is needed hacktoberfest labels Oct 3, 2024
@ilyakooo0
Copy link

This also prevents pgroll from being used with Digital Ocean managed Postgres

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants