Re: pgagent status always successful

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <erics(at)ameri-title(dot)com>, <pgadmin-support(at)postgresql(dot)org>
Subject: Re: pgagent status always successful
Date: 2006-06-30 08:05:21
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E401388C9D@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

> -----Original Message-----
> From: pgadmin-support-owner(at)postgresql(dot)org
> [mailto:pgadmin-support-owner(at)postgresql(dot)org] On Behalf Of Dave Page
> Sent: 30 June 2006 08:57
> To: erics(at)ameri-title(dot)com; pgadmin-support(at)postgresql(dot)org
> Subject: Re: [pgadmin-support] pgagent status always successful
>
>
> Yes, it's a bug. Please give the attached patch to
> xtra/pgagent/job.cpp
> a whirl and see if it helps. You should get a result of -1 if there is
> an error executing the script, otherwise whatever the return value of
> the script is.
>
> Note that on Windows there is currently no way to get the
> script return
> value.
>
> Please let me know if it works as expected.

Sorry - just realised the patch I sent was against the current dev code,
so if you're running 1.4.x it won't apply. In that case, please use the
attached version.

Regards, Dave.

Attachment Content-Type Size
pgagent-1.4-retcode.diff application/octet-stream 644 bytes

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Jim C. Nasby 2006-06-30 17:58:35 Re: 100% CPU
Previous Message Dave Page 2006-06-30 07:57:13 Re: pgagent status always successful