Skip site navigation (1) Skip section navigation (2)

reset statistic

From: frank_lupo <frank_lupo(at)email(dot)it>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: reset statistic
Date: 2003-02-21 18:06:57
Message-ID: HAO7NL$BA02A73DC0ED0A5D5F0D9709757C587A@email.it (view raw or flat)
Thread:
Lists: pgadmin-hackers
add reset statistic similar to mnuPopupVacuum

Private Sub mnuPopupResetStat_Click()
On Error GoTo Err_Handler
svr.LogEvent "Entering " & App.Title & ":frmMain.mnuPopupResetStat_Click()", etFullDebug

  'reset statistic
  If MsgBox("Confirm reset statistic?", vbApplicationModal + vbYesNo) = vbYes Then
    svr.Databases(ctx.CurrentDB).Execute "select pg_stat_reset()"
  End If
  
  Exit Sub
Err_Handler: If Err.Number <> 0 Then LogError Err.Number, Err.Description, App.Title & ":frmMain.mnuPopupResetStat_Click"
End Sub


Bye !!
Frank Lupo (Wolf) !!

    /\_ _/\
    \ o o /
--ooo-----ooo---



--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f

Sponsor:
Un regalo, mille possibilità di scelta, una più preziosa dell'altra.
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=613&d=21-2

Responses

pgadmin-hackers by date

Next:From: Dave PageDate: 2003-02-21 21:12:37
Subject: Re: problem to developing the lock
Previous:From: frank_lupoDate: 2003-02-21 18:02:30
Subject: problem to developing the lock

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group