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$ (view raw, whole thread or download thread mbox)
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 /

Prendi GRATIS l'email universale che... risparmia:

Un regalo, mille possibilità di scelta, una più preziosa dell'altra.
Clicca qui:


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-2017 The PostgreSQL Global Development Group