diff --git a/schema/pgIndex.cpp b/schema/pgIndex.cpp index b3d7852..94d0a76 100644 --- a/schema/pgIndex.cpp +++ b/schema/pgIndex.cpp @@ -201,7 +201,7 @@ void pgIndexBase::ReadColumnDetails() wxT(" CASE WHEN (o.opcdefault = FALSE) THEN o.opcname ELSE null END AS opcname\n"); if (GetConnection()->BackendMinimumVersion(9, 1)) query += wxT(",\n coll.collname, nspc.nspname as collnspname\n"); - if (GetConnection()->BackendMinimumVersion(10, 0)) + if (GetConnection()->BackendMinimumVersion(11, 0)) query += ","+ NumToStr(i)+" <= i.indnkeyatts AS is_key\n"; else query += ",true AS is_key\n"; diff --git a/x64/Release_(3.0)/pgAdmin3.exe b/x64/Release_(3.0)/pgAdmin3.exe index aa9826b..7f2f0fb 100644 Binary files a/x64/Release_(3.0)/pgAdmin3.exe and b/x64/Release_(3.0)/pgAdmin3.exe differ