From: Christophe Pettus <xof@thebuild.com>
To: Siraj G <tosiraj.g@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: User roles for gathering performance metrics data
Date: Tue, 26 Mar 2024 22:33:26 -0700
Message-ID: <3CA91D7E-0CD1-41BD-B710-3785D86645CE@thebuild.com> (raw)
In-Reply-To: <CAC5iy63w0kibzMj-vD4F5Q9q6ijN34tPPvvF2invxGSjAc0_uw@mail.gmail.com>
References: <CAC5iy63w0kibzMj-vD4F5Q9q6ijN34tPPvvF2invxGSjAc0_uw@mail.gmail.com>
> On Mar 26, 2024, at 22:30, Siraj G <tosiraj.g@gmail.com> wrote:
> I am from Oracle background. In Oracle, we grant select_catalog_role or select any dictionary role to users who want to study performance data. I am trying to get similar information on the roles or privileges in PgSQL that we might want to request to investigate the performance problems?
You probably want pg_monitor:
https://www.postgresql.org/docs/current/predefined-roles.html
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: xof@thebuild.com, tosiraj.g@gmail.com
Subject: Re: User roles for gathering performance metrics data
In-Reply-To: <3CA91D7E-0CD1-41BD-B710-3785D86645CE@thebuild.com>
References: <CAC5iy63w0kibzMj-vD4F5Q9q6ijN34tPPvvF2invxGSjAc0_uw@mail.gmail.com> <3CA91D7E-0CD1-41BD-B710-3785D86645CE@thebuild.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox