Re: running query

From: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
To: pginfo <pginfo(at)t1(dot)unisoftbg(dot)com>
Cc: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, Hervé Piedvache <herve(at)elma(dot)fr>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: running query
Date: 2002-11-17 18:09:39
Message-ID: 20021117180939.A8735@quartz.newn.cam.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Not sure: maybe

set stats_command_string=on;

?

Cheers,

Patrick

On Fri, Nov 15, 2002 at 04:34:13PM +0100, pginfo wrote:
> I am superuser.
>
> Alvaro Herrera wrote:
>
> > On Fri, Nov 15, 2002 at 12:10:57PM +0100, pginfo wrote:
> >
> > > 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 |
> > >
> > > I do not see the running tasks and I am sure that this tasks exist.
> >
> > You need to be superuser, AFAIU.
> >
> > --
> > Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
> > FOO MANE PADME HUM
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matthew V. 2002-11-17 18:16:59 Retrieve Number of rows to be DELETEd
Previous Message Tom Lane 2002-11-17 18:09:13 Re: Welcom & a problem