From: | Günce Kaya <guncekaya14(at)gmail(dot)com> |
---|---|
To: | Gunnar Nick Bluth <gunnar(dot)bluth(dot)extern(at)elster(dot)de> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Displaying ProcessList to Users |
Date: | 2017-01-05 08:12:10 |
Message-ID: | CAAV2-mWr3fejn=53DbSoSpL5wiw_Zp4vtqP9UsAcN=2dKyoMzg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Hi Gunnar,
When I select pg_stat_activity table, I can see only a row to my user but I
have executed lots of queries. I can only see latest executed query to me.
Is there any way to list users with whole queries that executed before by
users?
Regards,
Gunce Kaya
2017-01-05 10:59 GMT+03:00 Gunnar "Nick" Bluth <
gunnar(dot)bluth(dot)extern(at)elster(dot)de>:
> Am 05.01.2017 um 08:55 schrieb Günce Kaya:
> > Hi All,
>
> Hi Günce,
>
>
> > I'm curious about can I display or list users who execute which queries
> > in databases.
> >
> > Any help would be appreciated.
>
> Have a look at pg_stat_activity.
>
> Regards,
> --
> Gunnar "Nick" Bluth
> DBA ELSTER
>
> Tel: +49 911/991-4665
> Mobil: +49 172/8853339
>
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>
--
Gunce Kaya
From | Date | Subject | |
---|---|---|---|
Next Message | Gunnar "Nick" Bluth | 2017-01-05 08:32:16 | Re: Displaying ProcessList to Users |
Previous Message | Gunnar "Nick" Bluth | 2017-01-05 07:59:55 | Re: Displaying ProcessList to Users |