Skip to content

Conversation

git-hulk
Copy link
Member

DROP POLICY [ IF EXISTS ] name ON table_name [ CASCADE | RESTRICT ]

For the documentation, please refer:

https://www.postgresql.org/docs/current/sql-createpolicy.html

This closes #1404.

```SQL
DROP POLICY [ IF EXISTS ] name ON table_name [ CASCADE | RESTRICT ]
```

For the documentation, please refer:

https://www.postgresql.org/docs/current/sql-createpolicy.html

This closes apache#1404.
@git-hulk
Copy link
Member Author

ALTER POLICY will be supported in another dedicated PR.

@git-hulk
Copy link
Member Author

cc @iffyio

@coveralls
Copy link

Pull Request Test Coverage Report for Build 11052714807

Details

  • 48 of 54 (88.89%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 89.323%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/ast/mod.rs 11 13 84.62%
tests/sqlparser_common.rs 17 21 80.95%
Totals Coverage Status
Change from base Build 11038149323: 0.01%
Covered Lines: 29825
Relevant Lines: 33390

💛 - Coveralls

Copy link
Contributor

@iffyio iffyio left a comment

Choose a reason for hiding this comment

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

LGTM! cc @alamb

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @iffyio and @git-hulk -- you are making this very easy!

@alamb alamb merged commit 2af981e into apache:main Sep 29, 2024
10 checks passed
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.

Support RLS statements

4 participants