You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I remove double quotes from "gender" "Gender" NOT NULL,, it'll work.
The text was updated successfully, but these errors were encountered:
ifrvn
changed the title
PostgreSQL - Import SQL faild if using custom type with double quotes
[Bug] PostgreSQL - Import SQL faild when using custom type with double quotes
Aug 1, 2024
When setting a custom type with double quotes in create table, import this sql file, drawdb throws an error.
SyntaxError [Ln 5, Col 14]: Expected "--", "->", "->>", ".", "/*", "BIGINT", "BIGSERIAL", "BOOL", "BOOLEAN", "CHAR", "CHARACTER", "DATE", "DATETIME", "DECIMAL", "DOUBLE", "ENUM", "FLOAT", "GEOMETRY", "INT", "INTEGER", "INTERVAL", "JSON", "JSONB", "LONGTEXT", "MEDIUMTEXT", "NUMERIC", "OID", "REAL", "RECORD", "REGCLASS", "REGCOLLATION", "REGCONFIG", "REGDICTIONARY", "REGNAMESPACE", "REGOPER", "REGOPERATOR", "REGPROC", "REGPROCEDURE", "REGROLE", "REGTYPE", "SERIAL", "SMALLINT", "TEXT", "TIME", "TIMESTAMP", "TINYINT", "TINYTEXT", "UUID", "VARCHAR", "bytea", [ \t\n\r], or [A-Za-z_一-龥] but """ found.
If I remove double quotes from
"gender" "Gender" NOT NULL,
, it'll work.The text was updated successfully, but these errors were encountered: