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

Closed
opened 2018-05-31 09:45:50 +00:00 by dushu1105 · 1 comment
dushu1105 commented 2018-05-31 09:45:50 +00:00 (Migrated from github.com)

我使用如下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这样的无法识别

我使用如下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这样的无法识别

Maybe resolved by #1930

Maybe resolved by #1930
lunny closed this issue 2021-09-07 08:12:19 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#994
No description provided.