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

Add notes the user must be a superuser #143

Merged
merged 1 commit into from
Feb 6, 2023

Conversation

mikecaat
Copy link
Contributor

@mikecaat mikecaat commented Feb 6, 2023

pg_bulkload expects that the user is a superuser.

$ pg_bulkload sample_csv.ctl --username test --dbname test
NOTICE: BULK LOAD START
ERROR: query failed: ERROR:  must be superuser to use pg_bulkload
DETAIL: query was: SELECT * FROM pgbulkload.pg_bulkload($1)

pg_bulkload expects that the user is a superuser.

```
$ pg_bulkload sample_csv.ctl --username test --dbname test
NOTICE: BULK LOAD START
ERROR: query failed: ERROR:  must be superuser to use pg_bulkload
DETAIL: query was: SELECT * FROM pgbulkload.pg_bulkload($1)
```
@mikecaat mikecaat requested a review from zwyan0 February 6, 2023 05:10
@zwyan0
Copy link
Contributor

zwyan0 commented Feb 6, 2023

Thank you for your work!
I think it's ok to me.

@mikecaat mikecaat merged commit 3cf3e02 into ossc-db:master Feb 6, 2023
@mikecaat mikecaat deleted the doc_add_superuser branch February 6, 2023 07:22
zwyan0 pushed a commit to zwyan0/pg_bulkload that referenced this pull request Feb 7, 2023
pg_bulkload expects that the user is a superuser.

```
# "test" is not a superuser
$ pg_bulkload sample_csv.ctl --username test --dbname test
NOTICE: BULK LOAD START
ERROR: query failed: ERROR:  must be superuser to use pg_bulkload
DETAIL: query was: SELECT * FROM pgbulkload.pg_bulkload($1)
```

Co-authored-by: Masahiro Ikeda <masahiro.ikeda.us@hco.ntt.co.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants