From 09e5b4ffb3b9b57746eb2d12d5cbb202e0a9f206 Mon Sep 17 00:00:00 2001 From: SUNKAIXUAN <610262374@qq.com> Date: Thu, 15 Apr 2021 20:24:30 +0800 Subject: [PATCH] PgSql IsAnyIndex BUG --- .../PostgreSQL/DbMaintenance/PostgreSQLDbMaintenance.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Realization/PostgreSQL/DbMaintenance/PostgreSQLDbMaintenance.cs b/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Realization/PostgreSQL/DbMaintenance/PostgreSQLDbMaintenance.cs index 1c3d82287..743a15909 100644 --- a/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Realization/PostgreSQL/DbMaintenance/PostgreSQLDbMaintenance.cs +++ b/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Realization/PostgreSQL/DbMaintenance/PostgreSQLDbMaintenance.cs @@ -192,7 +192,7 @@ namespace SqlSugar { get { - return " Select count(1) from (SELECT to_regclass('Index_UnitCodeTest1_Id_CreateDate') as c ) t where t.c is not null"; + return " Select count(1) from (SELECT to_regclass('{0}') as c ) t where t.c is not null"; } }