Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query

From: Sergei Kornilov <sk(at)zsrv(dot)org>
To: Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query
Date: 2018-06-20 08:02:05
Message-ID: 21661529481725@web42g.yandex.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 with pg_read_all_stats and user for application queries are different users.
At least it should be documented.

regards, Sergei

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2018-06-20 08:03:46 Re: ToDo: show size of partitioned table
Previous Message Arseny Sher 2018-06-20 07:59:28 Re: Possible bug in logical replication.