Re: pg_stat_activity

From: Don Seiler <don(at)seiler(dot)us>
To: Thomas Poty <thomas(dot)poty(at)gmail(dot)com>
Cc: Ron <ronljohnsonjr(at)gmail(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg_stat_activity
Date: 2018-06-11 13:58:02
Message-ID: CAHJZqBCxfQP3CVcDYjPCg7_dHQWYPmKTGo=TGjog8OLeQEDwqA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, Jun 11, 2018 at 8:45 AM, Thomas Poty <thomas(dot)poty(at)gmail(dot)com> wrote:
>
> It lists all statements including 'ALTER TABLE', 'VACUUM', 'CREATE INDEX',
> etc
>
> Le lun. 11 juin 2018 à 15:38, Ron <ronljohnsonjr(at)gmail(dot)com> a écrit :
>
>> Does pg_stat_activity only list SELECT statements, or does it also list
>> INSERT, DELETE and UPDATE statements?
>>
>
Keep in mind that you can only see those statements if you are the same
user or are a superuser. I'm not sure yet if users in the pg_monitor role
have visibility.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Thomas Poty 2018-06-11 14:15:17 Re: pg_stat_activity
Previous Message Ron 2018-06-11 13:56:43 Re: pg_stat_activity