From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pginfo <pginfo(at)t1(dot)unisoftbg(dot)com> |
Cc: | Hervé Piedvache <herve(at)elma(dot)fr>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: running query |
Date: | 2002-11-15 15:41:45 |
Message-ID: | 27663.1037374905@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
pginfo <pginfo(at)t1(dot)unisoftbg(dot)com> writes:
> I start select * from pg_stat_activity;
> And as result I see
> datid | datname | procpid | usesysid | usename | current_query
> -------+---------+---------+----------+----------+---------------
> 16556 | mybase | 1162 | 2 | myuser |
> 16556 | mybase | 1163 | 2 | myuser |
> 16556 | mybase | 1164 | 2 | myuser |
> 16556 | mybase | 1165 | 2 | myuser |
You're not getting current_query, either because you haven't turned on
collection of current queries by the statistics monitor, or because
you are not superuser.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2002-11-15 15:46:47 | Re: [PERFORM] Upgrade to dual processor machine? |
Previous Message | pginfo | 2002-11-15 15:34:13 | Re: running query |