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

What are the minimum SQL priviledges required from sql_pump and sql_pump_aggregate? #723

Open
jakub-bochenski opened this issue Sep 8, 2023 · 1 comment

Comments

@jakub-bochenski
Copy link

I'm guessing create table, create index and select/insert/update should be enough

This should be documented to avoid unexpected failures during runtime.

@jakub-bochenski
Copy link
Author

This seems to be working for me

CREATE USER tyk WITH PASSWORD '12345678';
CREATE DATABASE tyk_analytics;
\connect tyk_analytics
CREATE SCHEMA tyk_schema;
GRANT CONNECT ON DATABASE tyk_analytics  TO tyk;
GRANT USAGE, CREATE ON SCHEMA tyk_schema  TO tyk;
ALTER USER tyk SET search_path TO tyk_schema;

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

No branches or pull requests

2 participants