> -----Original Message-----
> From: Andreas Pflug [mailto:[EMAIL PROTECTED] 
> Sent: 11 March 2005 19:30
> To: Dave Page
> Cc: [email protected]
> 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

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to