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

must use superuser?? #78

Open
darrkz opened this issue Sep 5, 2019 · 1 comment
Open

must use superuser?? #78

darrkz opened this issue Sep 5, 2019 · 1 comment

Comments

@darrkz
Copy link

darrkz commented Sep 5, 2019

I recently use pg_bulkload to load data to pg, then I found that the tool told me "must be superuser to use pg_bulkload"

I think this is not safe, is there a way to change this?

@kiskk kiskk self-assigned this Aug 3, 2020
@kiskk
Copy link
Contributor

kiskk commented Aug 3, 2020

pg_bulkload can only be used by superuser, Because pg_bulkload modifies files(table,index) directly for fast loading.

We will also add these restrictions(only allowed to superuser) to the manual.

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

5 participants