Re: Query to pg_stat_activity - Mailing list pgsql-general

From Tom Lane
Subject Re: Query to pg_stat_activity
Date
Msg-id 12114.1067894367@sss.pgh.pa.us
Whole thread Raw
In response to Query to pg_stat_activity  (Carmen Gloria Sepulveda Dedes <csepulveda@atichile.com>)
List pgsql-general
Carmen Gloria Sepulveda Dedes <csepulveda@atichile.com> writes:
> but, "current_query" is null.  Why?

Most likely, you haven't enabled gathering of command line statistics.
See postgresql.conf.

            regards, tom lane

pgsql-general by date:

Previous
From: Carmen Gloria Sepulveda Dedes
Date:
Subject: Query to pg_stat_activity
Next
From: Jan Wieck
Date:
Subject: Re: table locking.. FK tables locking on insert