You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: 修复测试用例
* fix: 恢复CommandBuilderTests测试用例
* fix: 恢复CASCADE关键字,用于删除表的关联信息
* fix: Maybe add the comment to the solution file and comment the plugin test project to avoid duplicates
* fix: 修复测试用例
typ.oid AS typoid, nspname, relname, attname, attrelid, attnum, attnotnull,
35
36
{(pgVersion.IsGreaterOrEqual(10)?"attidentity != ''":"FALSE")} AS isidentity,
36
37
CASE WHEN typ.typtype = 'd' THEN typ.typtypmod ELSE atttypmod END AS typmod,
37
38
CASE WHEN atthasdef THEN (SELECT pg_get_expr(adbin, cls.oid) FROM pg_attrdef WHERE adrelid = cls.oid AND adnum = attr.attnum) ELSE NULL END AS default,
38
-
CASE WHEN ((cls.relkind = ANY (ARRAY['r'::""char"", 'p'::""char""]))
39
-
OR ((cls.relkind = ANY (ARRAY['v'::""char"", 'f'::""char""]))
40
-
AND pg_column_is_updatable((cls.oid)::regclass, attr.attnum, false)))
41
-
AND attr.attidentity NOT IN ('a') THEN 'true'::boolean
42
-
ELSE 'false'::boolean
43
-
END AS is_updatable,
39
+
CASE WHEN ((cls.relkind IN ('r', 'p')) -- 仅允许普通表或分区表
0 commit comments