mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-07-29 22:03:09 -06:00
fix
This commit is contained in:
parent
3c628e993b
commit
e56abf682d
1 changed files with 1 additions and 1 deletions
|
|
@ -363,7 +363,7 @@ void pgproJob::ShowStatistics(frmMain *form, ctlListView *statistics)
|
|||
if (wxDTend.IsEmpty()) wxDTend=DateToAnsiStr(wxDateTime::Now());
|
||||
sql=wxT("select log_time,detail critical,message,hint from pg_log l where l.log_time>'") + DateToAnsiStr(GetStarted())+
|
||||
wxT("'::timestamp - interval '1min' and l.log_time<='")+ wxDTend +
|
||||
wxT("'::timestamp + interval '1min' and detail::int>=0");
|
||||
wxT("'::timestamp + interval '1min' and case when length(detail)>2 then 20 else detail::int end >=0");
|
||||
//+GetTryName()+wxT("'");
|
||||
pgSet *stats = GetConnection()->ExecuteSet(sql);
|
||||
wxString critical;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue