feat(X-Pack): [数据填报]支持绑定PostgreSQL自增主键的表

This commit is contained in:
ulleo
2025-04-22 13:57:45 +08:00
committed by xuwei-fit2cloud
parent 7803e5f272
commit b62445dcfe

View File

@@ -1284,6 +1284,8 @@ public class CalciteProvider extends Provider {
END,
CASE
WHEN pg_get_expr(ad.adbin, ad.adrelid) LIKE 'nextval%%' THEN 1
WHEN a.attidentity = 'd' THEN 1
WHEN a.attidentity = 'a' THEN 1
ELSE 0
END
FROM pg_class c