drawdb icon indicating copy to clipboard operation
drawdb copied to clipboard

[BUG] PostgreSQL, Import from SQL TIMESTAMPTZ parsing fail

Open Erim32 opened this issue 1 year ago • 1 comments

Issue using "import form SQL" feature with PostgreSQL : TIMESTAMPTZ

How to reproduce

image

CREATE TABLE DEMO (
    test TIMESTAMPTZ NOT NULL
);

Fail

But if the datatype is VARCHAR:

CREATE TABLE DEMO (
    test VARCHAR NOT NULL
);

image

OK

Erim32 avatar Aug 26 '24 22:08 Erim32

Yes, it was fixed in this PR https://github.com/taozhi8833998/node-sql-parser/pull/2063. It will be supported once v5.4.0 comes out

1ilit avatar Aug 27 '24 06:08 1ilit