Skip to content

feat: extend PostgreSQL table query and partition options - #2705

Merged
manticore-projects merged 2 commits into
JSQLParser:masterfrom
minleejae:feat/postgresql-table-query-partition
Sep 25, 2026
Merged

manticore-projects merged 2 commits into
JSQLParser:masterfrom
minleejae:feat/postgresql-table-query-partition

Conversation

@minleejae

Copy link
Copy Markdown
Contributor

Several PostgreSQL CREATE TABLE forms remained unparseable: LOCAL TEMP, qualified storage options, the still-accepted WITHOUT OIDS spelling, partition-key operator classes and AS EXECUTE query sources.

Reuse Index.Option for table storage parameters, Index.ColumnParams for attributed partition keys and Execute for prepared-statement sources. Common printers and traversal keep these values editable without raw-token copies. Preserve ordinary partition-expression APIs, place PostgreSQL table options after PARTITION BY, and reject index-only ordering on partition keys.

Validation: full Gradle check and grammar ambiguity gate; typed-option and query-source mutations, visitors, deparsers and statement boundaries. All 14 audited cases execute and retain selected catalog results on PostgreSQL 18.6.

@manticore-projects
manticore-projects merged commit 8ffa565 into JSQLParser:master Sep 25, 2026
1 of 5 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.

2 participants