Repository navigation
PostgreSQL: Parse REVOKE of role membership - #2735
Open
LucaCappelletti94 wants to merge 2 commits into
Open
LucaCappelletti94 wants to merge 2 commits into
LucaCappelletti94 wants to merge 2 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2735 +/- ##
==========================================
+ Coverage 82.38% 82.40% +0.01%
==========================================
Files 42 42
Lines 35339 35376 +37
Branches 35339 35376 +37
==========================================
+ Hits 29115 29151 +36
- Misses 2678 2679 +1
Partials 3546 3546 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
LucaCappelletti94
force-pushed
the
upstream/postgres-revoke-role-membership
branch
from
October 28, 2026 07:51
bf4626d to
db5901d
Compare
sabir-akhadov-localstack
approved these changes
Oct 28, 2026
LucaCappelletti94
force-pushed
the
upstream/postgres-revoke-role-membership
branch
from
October 28, 2026 11:29
db5901d to
dcfcf7a
Compare
Base automatically changed from
upstream/postgres-grant-role-membership
to
main
October 28, 2026 11:30
LucaCappelletti94
force-pushed
the
upstream/postgres-revoke-role-membership
branch
from
October 28, 2026 11:55
dcfcf7a to
835ae9a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
REVOKE bypasser FROM anonfailed withExpected: a privilege keyword, found: bypasser, sinceREVOKEonly knew the privilege form. PostgreSQL revokes a role membership by naming the role without a keyword (REVOKE).The statement now parses into a new
Statement::RevokeRolewithGRANTED BYandCASCADEorRESTRICT. It goes through the same privilege-first fallback as the role membershipGRANT, so existing statements and their errors are unchanged.