Skip to content

Postgresql "ANALYZE table" not supported? #1579

Closed
@d2a-raudenaerde

Description

@d2a-raudenaerde

I'm trying to parse a sql-script with multiple statements, and some statements are analyze sometable statements. These are not recognized by the parser?

See for the syntax:
https://www.postgresql.org/docs/current/sql-analyze.html

Simple test:

        CCJSqlParser parser = newParser("analyze table1");
        parser.withAllowComplexParsing(true);
        for (Statement st :parser.Statements().getStatements())
        {
            System.out.println(st);
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions