pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gunnar \"Nick\" Bluth <gunnar.bluth.extern@elster.de>
To: pgsql-admin@postgresql.org
Subject: Re: Displaying ProcessList to Users
Date: Thu, 5 Jan 2017 08:59:55 +0100
Message-ID: <4a01458f-d8fd-c4f4-b7ed-57cb552e2e3c@elster.de> (raw)
In-Reply-To: <CAAV2-mWau0uEutVKAD_xwqzwdivqyNhqMM5SJ2maz-GpoDj_vA@mail.gmail.com>
References: <CAAV2-mWau0uEutVKAD_xwqzwdivqyNhqMM5SJ2maz-GpoDj_vA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

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@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (5+ messages)  latest in thread

Message-ID: <4a01458f-d8fd-c4f4-b7ed-57cb552e2e3c@elster.de>
Permalink:  ../4a01458f-d8fd-c4f4-b7ed-57cb552e2e3c@elster.de/
Also on:    postgresql.org/message-id/4a01458f-d8fd-c4f4-b7ed-57cb552e2e3c@elster.de

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: gunnar.bluth.extern@elster.de
  Subject: Re: Displaying ProcessList to Users
  In-Reply-To: <4a01458f-d8fd-c4f4-b7ed-57cb552e2e3c@elster.de>

* 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