We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When exporting an enum with the same name as a keyword, the enum name is not quoted.
CREATE TYPE "group" AS ENUM ( 'one', 'two'); CREATE TABLE table1(col1 "group"); EXPORT DATABASE 'test_export'
Which generates a test_export/schema.sql that can't be imported:
test_export/schema.sql
CREATE TYPE group AS ENUM ( 'one', 'two'); CREATE TABLE table1(col1 group);
The text was updated successfully, but these errors were encountered:
Issue duckdb#2923: Quote ENUM types
4e131b6
Add appropriate quotes when exporting ENUM names.
Merge pull request #3016 from hawkfish/hawkfish-export-enum
bff2ab4
Issue #2923: Quote ENUM types
hawkfish
No branches or pull requests
What happens?
When exporting an enum with the same name as a keyword, the enum name is not quoted.
To Reproduce
Which generates a
test_export/schema.sql
that can't be imported:Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: