- 测试 KingbaseES 数组等特殊类型;

This commit is contained in:
2881099
2024-08-14 21:53:50 +08:00
parent d33109c3b1
commit 5b2ff93ecd
11 changed files with 1179 additions and 984 deletions

View File

@ -29,6 +29,8 @@ namespace FreeSql.PostgreSQL
}
public bool IsPg10 => ServerVersion >= 10;
public bool IsPg95 { get; private set; }
public bool IsPg96 { get; private set; }
public int ServerVersion
{
get
@ -39,6 +41,8 @@ namespace FreeSql.PostgreSQL
try
{
_ServerVersionValue = ParsePgVersion(conn.Value.ServerVersion, 10, 0).Item2;
IsPg95 = ParsePgVersion(conn.Value.ServerVersion, 9, 5).Item1;
IsPg96 = ParsePgVersion(conn.Value.ServerVersion, 9, 6).Item1;
}
catch
{