FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[BUG] JSQLParser Version 4.6 - PostgreSQL: "::" notation not supported in nextval · Issue #1789 · JSQLParser/JSqlParser · GitHub

[BUG] JSQLParser Version 4.6 - PostgreSQL: "::" notation not supported in nextval #1789

Description

Hi,

With 4.6 I try to parse a PostgreSQL schema, it fails on this kind of table:

Statement in Error No 2: 
CREATE TABLE public.actor (
    actor_id integer DEFAULT nextval('public.actor_actor_id_seq'::regclass) NOT NULL,
    first_name character varying(45) NOT NULL,
    last_name character varying(45) NOT NULL,
    last_update timestamp without time zone DEFAULT now() NOT NULL
)
Exception of Error No 2: 
Encountered unexpected token: "::" "::"

Seems the :: notation is not suported in nextval.

Best,
N.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL