Skip to content

fix(postgresql): combine plsql_unreserved_keyword to unreserved_keyword and remove unused rules #315

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

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

LuckyFBB
Copy link
Collaborator

@LuckyFBB LuckyFBB commented Jun 14, 2024

#309

  1. public 可以为非保留字

    图片
  2. 整合 plsql_unreserved_keyword 到 unreserved_keyword,所有的使用 unreserved_keyword

  3. 删除没有使用的 index_method_choices/exclude_element 规则,使用 type_function_name 替代 type_usual_name

  4. 更改 tableelement 的规则顺序,否则如下 sql 会把 CONSTRAINT 识别为字段名

    CREATE TABLE distributors (
        did     integer,
        name    varchar(40),
        CONSTRAINT con1 CHECK (did > 100 AND name <> '')
    );

@HaydenOrz HaydenOrz merged commit 7884cbe into DTStack:main Jul 2, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants