GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [BUG] JSQLParser Version 4.6 - PostgreSQL: "::" notation not supported in nextval · Issue #1789 · JSQLParser/JSqlParser

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

New issue
Copy link
New issue
Copy link
Closed
#1778
Closed
[BUG] JSQLParser Version 4.6 - PostgreSQL: "::" notation not supported in nextval#1789
#1778
Copy link
Assignees
manticore-projects
Labels
duplicate

Description

@ndepomereu
ndepomereu
opened on May 15, 2023
Issue body actions

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

  1. manticore-projects commented on May 16, 2023

    @manticore-projects
    manticore-projects
    on May 16, 2023
    Contributor
    More actions

    Greetings, thank you for reporting.

    I will fix this today, since there is a similar issue already.
    Duplicate #1098
    Duplicate #1022

  2. manticore-projects
    self-assigned this
    on May 16, 2023
  3. manticore-projects
    added
    duplicate
    on May 16, 2023
  4. manticore-projects
    added a commit that references this issue on May 16, 2023

    fix: issue JSQLParser#1789

    d20c8e9
  5. manticore-projects commented on May 16, 2023

    @manticore-projects
    manticore-projects
    on May 16, 2023
    Contributor
    More actions

    Fixed via Commit d20c8e9 with PR #1778

    Cheers!

  6. manticore-projects
    added a commit that references this issue on May 16, 2023

    fix: issue JSQLParser#1789

    32ec561
  7. manticore-projects
    added a commit that references this issue on Jun 1, 2023

    JSQLParser 5.0 (#1778)

    41b6fce
  8. manticore-projects
    closed this as completedin #1778on Jun 1, 2023
  9. manticore-projects
    added a commit that references this issue on Jun 15, 2023

    Assorted Fixes #8 (#1807)

    a815f5f
  10. manticore-projects
    added a commit that references this issue on Jun 27, 2023

    Backslash Quotation of Single-Quote `'\\''` (#1813)

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

Metadata

Metadata

Assignees

  • @manticore-projects
    manticore-projects

Labels

duplicate

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402520 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.