Repository navigation
Conversation
LucaCappelletti94
requested changes
Dec 1, 2026
LucaCappelletti94
left a comment
Contributor
There was a problem hiding this comment.
Add the fuzz seed and fuzz differentially the syntax against pg_query using the harness.
icefery
marked this pull request as draft
December 1, 2026 13:28
icefery
force-pushed
the
postgres/drop-statistics
branch
from
December 1, 2026 14:11
435c171 to
ce90410
Compare
- Reuse the DROP statement AST for extended statistics objects. - Preserve qualified names and drop behavior without accepting unrelated modifiers.
icefery
force-pushed
the
postgres/drop-statistics
branch
from
December 1, 2026 14:25
ce90410 to
aa242f4
Compare
Author
|
Hey there! Could you please take a moment to review it again sometime? I plan to modify other PRs after this approach complies with the contribution guidelines; I'm currently working on a formatting tool. Once the upstream supports it, I'll be able to directly use the existing libraries. Thank you very much! |
icefery
marked this pull request as ready for review
December 1, 2026 14:31
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.
Dialects: PostgreSQL, Generic
DROP STATISTICS IF EXISTS app.stats, public.other RESTRICT;fails becauseDROPdoes not recognize statistics objects. This addsObjectType::Statisticsto the existingDROPstatement. It preserves the names and drop behavior without acceptingTEMPORARY,PURGE, orON.PostgreSQL syntax
Seven focused tests passed with all features. Rustfmt and Clippy on the library and Common/PostgreSQL test targets passed. The round-trip fuzzer completed 256 runs seeded with both single- and multiple-object statements.
AI assistance was used for the implementation, tests, and draft.