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

pg_dump output "CREATE TYPE v1.privilege AS ENUM" failed to parse #27

Open
int-index opened this issue Jan 21, 2019 · 0 comments
Open

Comments

@int-index
Copy link

I applied parseStatements defaultParseFlags "" Nothing to pg_dump output and got this parse error:

(line 31, column 29):
unexpected Identifier Nothing "ENUM"
:31:29:

Context:
--
-- Name: privilege; Type: TYPE; Schema: v1; Owner: int-index
--

CREATE TYPE v1.privilege AS ENUM (
                            ^
                       ERROR HERE
    'orphan',
    'disabled',
    'poor'
);

I suppose it contains enough context.

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