Re: pg_stat_activity

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

 



> On Jun 11, 2018, at 9:56 AM, Ron <ronljohnsonjr@xxxxxxxxx> wrote:
> 
> How, then, do I get only long-running SELECT statements?
> 

Why only select statements? What about select statements that are really updates? 

i.e.

select …. for update;
select do_some_work();   —In this case you will not see the actual executing SQL in the function which could be update, delete, select, etc.

Or what about delete or update with returning? 




[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