Code insertion

From: Nailah Ogeer <ogeer(at)cs(dot)queensu(dot)ca>
To: <pgsql-general(at)postgresql(dot)org>
Cc: pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: Code insertion
Date: 2003-09-07 20:05:59
Message-ID: Pine.SOL.4.33.0309071559250.23551-100000@innovate
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-patches

Hi all,
Just wondering if someone could help me with this rather specific problem.
I am trying to figure out where i should insert some code that basically
resets stats after a certain number of transactions(or sql statements)
have been executed. Collects Stats after some more statements have been
executed and continues to do this.
I need to access these stats so i store them in Shared memory.
The long term goal is to reset stats, collect stats, reset stats, collect
second set of stats, compare 1st and second stats. Therefore i can't have
the 1st or second stats rewritting itself.
I had this problem when i tried to insert the code in the Executor under
ExecutorRun().

Signed Very Desperate

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rada Chirkova 2003-09-07 20:54:33 Can I use PostgreSQL to develop a self-organizing database system?
Previous Message Peter Eisentraut 2003-09-07 19:59:32 Re: Does "vacuum analyze" contain "vacuum"?

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2003-09-07 20:20:40 Re: Notices for redundant operations
Previous Message Larry Rosenman 2003-09-07 19:57:29 Re: Unixware 713 probs

Browse pgsql-patches by date

  From Date Subject
Next Message Darko Prenosil 2003-09-07 20:29:11 Re: [PATCHES] MinGW patch
Previous Message Larry Rosenman 2003-09-07 19:57:29 Re: Unixware 713 probs