> -----Original Message-----
> From: Andreas Pflug [mailto:pgadmin@pse-consulting.de]
> Sent: 11 March 2005 19:30
> To: Dave Page
> Cc: pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] RFC: pgAgent Scheduler Design
>
> You do.
>
> int rc=serviceConn->ExecuteVoid(
> "UPDATE ... SET jobagentpid=pg_backend_pid() ...
> WHERE jobagentid IS NULL ...");
>
> if (rc == 1) // i.e. if exactly one row was affected, it's
> our job now.
Yeah, I saw that, but looking again I missed job::Runnable() in the
header.
So that's alright then! :-)
/D