Skip to content

Navigation Menu

Sign inAppearance settings
Appearance settings

feat: allow CATALOG in CREATE SCHEMA and DROP SCHEMA - #4277

#4277
Merged
katzyn merged 7 commits into
masterh2database/h2database:masterfrom
#4276CreateSchemaWithCatalogh2database/h2database:#4276CreateSchemaWithCatalogCopy head branch name to clipboard
Sep 7, 2025
Merged

feat: allow CATALOG in CREATE SCHEMA and DROP SCHEMA#4277
katzyn merged 7 commits into
masterh2database/h2database:masterfrom
#4276CreateSchemaWithCatalogh2database/h2database:#4276CreateSchemaWithCatalogCopy head branch name to clipboard

Conversation

@manticore-projects

Copy link
Copy Markdown
Contributor

Comment thread h2/src/main/org/h2/command/ddl/CreateSchema.java Outdated
Comment thread h2/src/main/org/h2/command/Parser.java Outdated
Comment thread h2/src/main/org/h2/res/help.csv Outdated
Comment thread h2/src/test/org/h2/test/scripts/ddl/createSchema.sql
@manticore-projects

Copy link
Copy Markdown
Contributor Author

Thank you much for feedback, I will work on this.

- do not document the optional `catalogName` because actual support is limited
- do not carry the `catalogName` along
- add tests for invalid `catalog` names
- verify catalog name and encapsulate the logic
- do not carry the catalog name along
Comment thread h2/src/main/org/h2/command/Parser.java Outdated
Comment thread h2/src/main/org/h2/command/Parser.java Outdated
Comment thread h2/src/main/org/h2/command/Parser.java Outdated
@katzyn
katzyn merged commit d053544 into master Sep 7, 2025
4 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.

CREATE SCHEMA does not take the catalog name

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.