| From: | "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk> |
|---|---|
| To: | "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de> |
| Cc: | <pgadmin-hackers(at)postgresql(dot)org> |
| Subject: | Re: RFC: pgAgent Scheduler Design |
| Date: | 2005-03-11 20:34:07 |
| Message-ID: | E7F85A1B5FF8D44C8A1AF6885BC9A0E472BAD9@ratbert.vale-housing.co.uk |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-hackers |
> -----Original Message-----
> From: Andreas Pflug [mailto:pgadmin(at)pse-consulting(dot)de]
> Sent: 11 March 2005 19:30
> To: Dave Page
> Cc: pgadmin-hackers(at)postgresql(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Florian G. Pflug | 2005-03-12 16:41:20 | [PATCH] Various OSX fixes & .app bundle building support |
| Previous Message | Andreas Pflug | 2005-03-11 19:29:56 | Re: RFC: pgAgent Scheduler Design |