Add a pgstat config column to pg_database, so this, entire thing can be enabled/disabled on a per db basis - Mailing list pgsql-hackers

From Euler Taveira de Oliveira
Subject Add a pgstat config column to pg_database, so this, entire thing can be enabled/disabled on a per db basis
Date
Msg-id 4ADD1C6E.3090605@timbira.com
Whole thread Raw
List pgsql-hackers
Hi,

Looking at the code, it seems the $SUBJECT (comment) is obsolete. Indeed, we
can set it with 'ALTER DATABASE foo SET track_*'.

One thing that bothers me is the fact that if i turn it off, do a lot of stuff
and then turn it on my counters will be wrong. :( Maybe should we call
pgstat_reset_counters() in a new-function (assign_track_counts(?) that will be
in assign_hook for guc 'track_counts')?


--  Euler Taveira de Oliveira http://www.timbira.com/


pgsql-hackers by date:

Previous
From: KaiGai Kohei
Date:
Subject: SE-PgSQL developer documentation (Re: Reworks for Access Control facilities (r2363))
Next
From: "Marc G. Fournier"
Date:
Subject: Re: Could postgres be much cleaner if a future release skipped backward compatibility?