mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-16 06:05:49 -06:00
bug fix execute cluster
Не выполнялась команда CLUSTER
This commit is contained in:
parent
98c8a6937f
commit
232ded1c65
1 changed files with 2 additions and 1 deletions
|
|
@ -227,6 +227,7 @@ wxString frmMaintenance::GetSql()
|
|||
sql += wxT(" ON ") + object->GetQuotedIdentifier();
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
|
|
@ -237,7 +238,7 @@ wxString frmMaintenance::GetSql()
|
|||
wxString strindex= object->GetConnection()->ExecuteScalar("select string_agg('cfs_gc_relation('||indexrelid::text||')',',') from pg_index i where indrelid=" + object->GetOidStr() + " and cfs_fragmentation(indexrelid) between 0.01 and 1;");
|
||||
if (strindex.Len() > 0) sql += ","+strindex;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue