pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marcin Krawczyk <jankes.mk@gmail.com>
To: Guillaume Lelarge <guillaume@lelarge.info>
Cc: pgsql-sql@postgresql.org
Subject: Re: pgAgent stats
Date: Wed, 17 Mar 2010 13:15:45 +0100
Message-ID: <95f6bf9b1003170515u4d80ad9dgd80ef3ee1bb20771@mail.gmail.com> (raw)
In-Reply-To: <4BA0C4EF.9000603@lelarge.info>
References: <95f6bf9b1003160040u3e658e3cg486a614cdd284a52@mail.gmail.com>
	<4BA0C4EF.9000603@lelarge.info>

It's pgAdmin 1.10.0. I've partially identified the problem, pgAdmin log says
that following query gets executed when switching to job statistics tab :

SELECT jsljlgid, jslstatus, jslresult, jslstart, jslduration, (jslstart +
jslduration) AS endtime, jsloutput
FROM pgagent.pga_jobsteplog WHERE jsljstid = 5 ORDER BY jslstart DESC LIMIT
0

obviously the problem is LIMIT 0 clause but why it is there remains
a mystery... pgAdmin bug ? a configuration issue ?


regards
mk


2010/3/17 Guillaume Lelarge <guillaume@lelarge.info>

> Hi,
>
> Le 16/03/2010 08:40, Marcin Krawczyk a écrit :
> > Hi list, does anyone know the reason for pgAdmin not showing the stats
> > neither for selected pgAgent step nor whole job ? The pga_joblog and
> > pga_jobsteplog both get populated with data on run so I was thinking that
> > maybe I'm missing some view associated with statistics tabs ?? Any ideas
> ?
> >
>
> Which release of pgAdmin?
>
> AFAICT, 1.10 Jobs' and Steps' statistics are last run time, status,
> start time, stop time, and duration.
>
>
> --
> Guillaume.
>  http://www.postgresqlfr.org
>  http://dalibo.com
>

view thread (9+ messages)  latest in thread

Message-ID: <95f6bf9b1003170515u4d80ad9dgd80ef3ee1bb20771@mail.gmail.com>
Permalink:  ../95f6bf9b1003170515u4d80ad9dgd80ef3ee1bb20771@mail.gmail.com/
Also on:    postgresql.org/message-id/95f6bf9b1003170515u4d80ad9dgd80ef3ee1bb20771@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jankes.mk@gmail.com, guillaume@lelarge.info
  Subject: Re: pgAgent stats
  In-Reply-To: <95f6bf9b1003170515u4d80ad9dgd80ef3ee1bb20771@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox