Skip to content

[Feature Request]: Add Missing PGSQL Functions #437

Description

@elliothomerwilkinson

Topic

Support new SQL

Description

The PostgreSqlLexer.g4 is missing support for common Postgres functions TO_CHAR and DATE_TRUNC

Please can these be added.

This is an issue since basic postgres sql like below is marked as invalid:

SELECT
    TO_CHAR(DATE_TRUNC('week', "my_date"), 'YYYY-MM-DD') as x
FROM test_table;

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions