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

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 (view raw or flat)
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

pgadmin-hackers by date

Next:From: frank_lupoDate: 2003-02-22 07:06:33
Subject: Re: problem to developing the lock
Previous:From: Dave PageDate: 2003-02-21 21:12:37
Subject: Re: problem to developing the lock

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