Re: I want to find out who is using a database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 10, 2010 at 1:17 PM, Tena Sakai <tsakai@xxxxxxxxxxxxxx> wrote:

Can somebody please tell me how I find who it is using the
xxxxx database?


select * from pg_stat_activity where datname = '<yourdbname>'; 

--
Shoaib Mir
http://shoaibmir.wordpress.com/

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux