Skip to content
This repository was archived by the owner on Sep 7, 2021. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.
This repository was archived by the owner on Sep 7, 2021. It is now read-only.

GetIndexes 在 dialect_postgres.go里分析返回结果会出错 #994

Open
@dushu1105

Description

@dushu1105

我使用如下sql
CREATE UNIQUE INDEX only_one_active ON public.formulas USING btree (cell_id) WHERE (is_active = true)
导致返回错误
cs := strings.Split(indexdef, "(")这里分割返回结果不够,列名 会产生 cell_id) WHERE这样的无法识别

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions