Re: scheduler in core - Mailing list pgsql-hackers

From Dave Page
Subject Re: scheduler in core
Date
Msg-id 937d27e11002201640p2be4bf99n4d1a294d71517b61@mail.gmail.com
Whole thread Raw
In response to Re: scheduler in core  (Dimitri Fontaine <dfontaine@hi-media.com>)
Responses Re: scheduler in core
List pgsql-hackers
On Sat, Feb 20, 2010 at 10:03 PM, Dimitri Fontaine
<dfontaine@hi-media.com> wrote:
> Dave Page <dpage@pgadmin.org> writes:
>> Why not just use pgAgent? It's far more flexible than the design
>> you've suggested, and already exists.
>
> What would it take to have it included in core, so that it's not a
> separate install to do? I'd love to have some support for running my
> maintenance pl functions directly from the database. I mean without
> installing, running and monitoring another (set of) process.

It's currently written in C++/pl/pgsql and uses wxWidgets, none of
which couldn't be changed with a little work. Having it in core will
almost certainly result in reduced functionality though - there are
use cases in which you may have multiple agents running against one
control database, or executing jobs on remote databases for example.

We originally wrote the code such that it might be easily included in
core in the future, but every time this topic comes up in -hackers,
there are a significant number of people who don't think a scheduler
should be tied to the core code so we stopped assuming it ever would
be.

-- 
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: scheduler in core
Next
From: Andrew Dunstan
Date:
Subject: Re: scheduler in core