public inbox for [email protected]
help / color / mirror / Atom feedFrom: Fabrice Chapuis <[email protected]>
To: [email protected]
Subject: pg_stat_statements_reset
Date: Mon, 16 Dec 2024 16:30:39 +0100
Message-ID: <CAA5-nLDgGReN_C9TYsuSC4X04xzGdFbM=V3CsBo2J0xePceOaQ@mail.gmail.com> (raw)
Hi,
This query seems not resetting stats for databae mydb
SELECT pg_stat_statements_reset(
NULL, -- userid: NULL means "all users"
(SELECT oid FROM pg_database WHERE datname = 'mydb'),
NULL -- queryid: NULL means "all queries"
);
│ pg_stat_statements_reset │
(1 row)
Something wrong in the use of the function pg_stat_statements_reset?
Regards,
Fabrice
view thread (4+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pg_stat_statements_reset
In-Reply-To: <CAA5-nLDgGReN_C9TYsuSC4X04xzGdFbM=V3CsBo2J0xePceOaQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox