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

Use has_privs_of_role instead of is_member_of_role in UserHasPermissionToViewStatsOf() #7923

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

onurctirtir
Copy link
Member

As of postgres/postgres@6198420, the usage of is_member_of_role is replaced by has_privs_of_role for pg_stat_activity, pg_stat_statements and many others.

TODO: Need to better understand the implications of this change and need to add a few tests.

DESCRIPTION: PR description that will go into the change log, up to 78 characters

…onToViewStatsOf

As of postgres/postgres@6198420,
the usage of is_member_of_role is replaced by has_privs_of_role for pg_stat_activity,
pg_stat_statements and many others.
Copy link

codecov bot commented Mar 12, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 89.38%. Comparing base (d885e1a) to head (f01b808).

❌ Your patch check has failed because the patch coverage (0.00%) is below the target coverage (75.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7923      +/-   ##
==========================================
+ Coverage   89.32%   89.38%   +0.06%     
==========================================
  Files         283      283              
  Lines       60522    60522              
  Branches     7544     7544              
==========================================
+ Hits        54060    54099      +39     
+ Misses       4284     4247      -37     
+ Partials     2178     2176       -2     
🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant