Re: reset statistic

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <frank_lupo(at)email(dot)it>
Cc: <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: reset statistic
Date: 2003-02-21 22:39:50
Message-ID: 50226.80.177.99.193.1045867190.squirrel@ssl.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

It's rumoured that frank_lupo once said:
> 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

Thanks, applied.

Regards, Dave.

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message frank_lupo 2003-02-22 07:06:33 Re: problem to developing the lock
Previous Message Dave Page 2003-02-21 21:12:37 Re: problem to developing the lock