View running statements - Mailing list pgsql-hackers

From Vlad Arkhipov
Subject View running statements
Date
Msg-id 49B8A2F8.6070107@dc.baikal.ru
Whole thread Raw
Responses Re: View running statements
List pgsql-hackers
Is there any way to inspect current running statements (optionally full 
stack of these statements)? I've found there is error_context_stack 
variable in each backend, but it seems there is no way to get this 
variable from another backend. It will be great if Postgres have such 
kind of mechanism, for instance a system table that consists statements 
running longer than certain time (5-10 seconds).


pgsql-hackers by date:

Previous
From: KaiGai Kohei
Date:
Subject: Row-Trigger implicitly allows users ACL_SELECT
Next
From: "A. Kretschmer"
Date:
Subject: Re: View running statements