Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix 'pq: permission denied for function pg_ls_waldir' on PG v16.6#1101

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
kakuiho wants to merge2 commits intoprometheus-community:master
base:master
Choose a base branch
Loading
fromkakuiho:fix-pg_ls_waldir-perm-pg16.6

Conversation

@kakuiho
Copy link

see also#1100

@kakuiho
Copy link
Author

@khiemdoan Could you please merge this PR?

@khiemdoan
Copy link
Contributor

Hi@kakuiho,
So sorry, I don't have permission to merge any PR.

SELECT * FROM get_pg_stat_statements();
GRANT SELECT ON postgres_exporter.pg_stat_statements TO postgres_exporter;
GRANT ALL ON FUNCTION pg_catalog.pg_ls_waldir() TO postgres_exporter;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I always hesitate to recommend someone give ALL permissions. I think this only needsEXECUTE. Can you confirm and update?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I ran on this comment by chance and did it on my side as I had the error, and it did clear the error from the console when granting only EXECUTE. So I guess it does work 👍

sysadmind reacted with thumbs up emoji
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@sysadmindsysadmindsysadmind requested changes

+1 more reviewer

@AlaanorAlaanorAlaanor left review comments

Reviewers whose approvals may not affect merge requirements

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@kakuiho@khiemdoan@sysadmind@Alaanor

[8]ページ先頭

©2009-2025 Movatter.jp