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

[Voyager] Remove the check for pg_stat_statements being loaded via shared_preload_libraries #1965

Open
1 task done
shubham-yb opened this issue Nov 22, 2024 · 0 comments
Open
1 task done

Comments

@shubham-yb
Copy link
Contributor

shubham-yb commented Nov 22, 2024

Jira Link: DB-14190

Description

In the current implementation we are using the query SELECT current_setting('shared_preload_libraries') to figure out if pg_stat_statements is loaded via shared_preload_libraries.

The Voyager user does not have the privilege to run the above query and thus we always get the guardrails warning

pg_stat_statements is not loaded via shared_preload_libraries, required for detecting Unsupported Query Constructs

Even if the configuration is correct.

We need to remove this check so that user does not face this false negative.

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.
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

3 participants