mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 06:05:49 -06:00
Add LogPane color
Добавлена подсветка новых строк в логе. Изменены читающие функции для новых версий PG
This commit is contained in:
parent
de2cf5d0c8
commit
71629f4355
3 changed files with 59 additions and 16 deletions
|
|
@ -556,6 +556,7 @@ bool pgConn::HasFeature(int featureNo, bool forceCheck)
|
|||
{
|
||||
wxString proname = set->GetVal(wxT("proname"));
|
||||
long pronargs = set->GetLong(wxT("pronargs"));
|
||||
if (BackendMinimumVersion(9, 6)) features[FEATURE_FILEREAD] = true;
|
||||
|
||||
if (proname == wxT("pg_tablespace_size") && pronargs == 1 && set->GetLong(wxT("arg0")) == 26)
|
||||
features[FEATURE_SIZE] = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue