Skip to content
New issue

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

CreateTable (); fails #414

Open
nickgieschen opened this issue Aug 11, 2024 · 0 comments
Open

CreateTable (); fails #414

nickgieschen opened this issue Aug 11, 2024 · 0 comments

Comments

@nickgieschen
Copy link

Describe the bug

CreateTable (); fails. That is, I wan't to create an empty table, but the parser is expecting a token before the final paren.

1  create table "AlbumStyles" ();
                               ^
Unexpected rparen token: ")". Instead, I was expecting to see one of the following:

    - A "kw_like" token
    - A "kw_primary" token
    - A "kw_unique" token
    - A "quoted_word" token
    - A "word" token
    - A "kw_constraint" token
    - A "kw_check" token
    - A "kw_foreign" token
    - A "kw_unique" token
    - A "kw_primary" token
create table "Foo" ()

pg-mem version

3.0.2

(BTW, amazing project. Something I've been wishing for for a decade.)

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

No branches or pull requests

1 participant