Re: pg_stat_activity

Поиск
Список
Период
Сортировка
От Ilhan çetin
Тема Re: pg_stat_activity
Дата
Msg-id CA+e3EYZf-k3dOSM5rnDFPumB8vmD3c038=VDSEYgZTeOzteeig@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_stat_activity  (Thomas Poty <thomas.poty@gmail.com>)
Список pgsql-admin
Hi all,
Can you please delist me from this list?
I couldn’t find a way to unsubscribe.
Thanks

11 Haz 2018 Pzt, saat 17:15 tarihinde Thomas Poty <thomas.poty@gmail.com> şunu yazdı:
Hi Don,
I think you cannot run pg_activity if role is not superuser.
Regards,
Thomas

Le lun. 11 juin 2018 à 15:58, Don Seiler <don@seiler.us> a écrit :
On Mon, Jun 11, 2018 at 8:45 AM, Thomas Poty <thomas.poty@gmail.com> wrote:
It lists all statements including 'ALTER TABLE', 'VACUUM', 'CREATE INDEX', etc

Le lun. 11 juin 2018 à 15:38, Ron <ronljohnsonjr@gmail.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.

В списке pgsql-admin по дате отправления:

Предыдущее
От: Thomas Poty
Дата:
Сообщение: Re: pg_stat_activity
Следующее
От: Debraj Manna
Дата:
Сообщение: Removing WALS when replication slot is not busy