mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
bug fix
This commit is contained in:
parent
b5df2c7d0a
commit
1fe929a515
3 changed files with 3 additions and 3 deletions
Binary file not shown.
|
|
@ -2059,7 +2059,7 @@ void frmStatus::OnRefreshQuerystateTimer(wxTimerEvent &event)
|
|||
sql = wxT("select pid,frame_number,query_text,unnest(string_to_array(plan, E'\n')) pln,leader_pid from pg_query_state(")
|
||||
+pid+flags+wxT(") s");
|
||||
|
||||
pgSet *dataSet3 = connection->ExecuteSet(sql);
|
||||
pgSet *dataSet3 = connection->ExecuteSet(sql,false);
|
||||
if (dataSet3)
|
||||
{
|
||||
statusBar->SetStatusText(_("Refreshing query state list."));
|
||||
|
|
|
|||
|
|
@ -278,9 +278,9 @@ void pgproJob::ShowStatistics(frmMain *form, ctlListView *statistics)
|
|||
statistics->AddColumn(_("Critical"), 30);
|
||||
statistics->AddColumn(_("Message"), 300);
|
||||
statistics->AddColumn(_("Stage"), 40);
|
||||
if ((bu==wxT("f"))||(!settings->GetASUTPstyle())||(DateToStr(GetStarted()).IsEmpty())) return ;
|
||||
if ((bu==wxT("f"))||(!settings->GetASUTPstyle())||(DateToAnsiStr(GetStarted()).IsEmpty())) return ;
|
||||
|
||||
wxString wxDTend = DateToStr(GetFinished());
|
||||
wxString wxDTend = DateToAnsiStr(GetFinished());
|
||||
if (wxDTend.IsEmpty()) wxDTend=DateToStr(wxDateTime::Now());
|
||||
sql=wxT("select log_time,detail critical,message,application_name from pg_log l where l.log_time>'") + DateToStr(GetStarted())+
|
||||
wxT("'::timestamp - interval '1min' and l.log_time<'")+ wxDTend +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue