Code insertion - Mailing list pgsql-general

From Nailah Ogeer
Subject Code insertion
Date
Msg-id Pine.SOL.4.33.0309071559250.23551-100000@innovate
Whole thread Raw
List pgsql-general
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




pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Does "vacuum analyze" contain "vacuum"?
Next
From: "Rada Chirkova"
Date:
Subject: Can I use PostgreSQL to develop a self-organizing database system?