Add context menu for statistic partition tables (PG12 only).

Для окна статистики секционированной таблицы добавлено контекстное меню.
Статистика по секц. таблице работает с 12 версии
This commit is contained in:
lsv 2021-01-01 14:20:08 +05:00
parent dd3c00becf
commit bb831e57f2
3 changed files with 79 additions and 5 deletions

View file

@ -239,7 +239,7 @@ void pgObject::ShowStatisticsTables(frmMain* form, ctlListView* statistics, pgOb
) tabcoll = true;
if ( t == ("Partitions")) partcoll = true;
}
else onetable = true;
else if (obj->GetConnection()->BackendMinimumVersion(12, 0)) onetable = true;
bool hasSize = obj->GetConnection()->HasFeature(FEATURE_SIZE);
// Add the statistics view columns