Skip to content

fix: model PostgreSQL DROP INDEX CONCURRENTLY - #2699

Merged
manticore-projects merged 1 commit into
JSQLParser:masterfrom
minleejae:fix/postgresql-drop-index-concurrently
Sep 25, 2026
Merged

manticore-projects merged 1 commit into
JSQLParser:masterfrom
minleejae:fix/postgresql-drop-index-concurrently

Conversation

@minleejae

Copy link
Copy Markdown
Contributor

DROP INDEX CONCURRENTLY ix previously stored CONCURRENTLY as the object name and ix as a trailing token. Renaming the target through the AST generated invalid SQL, and adding IF EXISTS failed to parse.

Model concurrency independently of the index name and render it before IF EXISTS through the shared Drop printer. Tests cover qualified names, target replacement, removing concurrency, quoted identifiers, MySQL index options, reparsing and following statements.

Validation: full Gradle check including the grammar ambiguity gate; PostgreSQL 18.6 execution and catalog comparison for the audited IF EXISTS case and target-renaming mutation.

@manticore-projects
manticore-projects merged commit a82df72 into JSQLParser:master Sep 25, 2026
10 checks passed
@manticore-projects

Copy link
Copy Markdown
Contributor

Thank you!

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.

2 participants