Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query - Mailing list pgsql-hackers

From Sergei Kornilov
Subject Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query
Date
Msg-id 21661529481725@web42g.yandex.ru
Whole thread Raw
In response to New function pg_stat_statements_reset_query() to reset statistics ofa specific query  (Haribabu Kommi <kommi.haribabu@gmail.com>)
List pgsql-hackers
Hello

>    key.userid = GetUserId();
We can remove query id only from current user, right? Maybe better provide optional argument for userid? Typically user
withpg_read_all_stats and user for application queries are different users.
 
At least it should be documented.

regards, Sergei


pgsql-hackers by date:

Previous
From: Arseny Sher
Date:
Subject: Re: Possible bug in logical replication.
Next
From: Amit Langote
Date:
Subject: Re: ToDo: show size of partitioned table