Re: elegant and effective way for running jobs inside a database

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Artur Litwinowicz <admin(at)ybka(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: elegant and effective way for running jobs inside a database
Date: 2012-03-06 15:21:19
Message-ID: 28963.1331047279@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Mon, Mar 5, 2012 at 5:03 PM, Artur Litwinowicz <admin(at)ybka(dot)com> wrote:
>> Regarding a functional area I can help... but I can not understand why
>> this idea is so unappreciated?

> I think it's a bit unfair to say that this idea is unappreciated.

Well, there is the question of why we should re-invent the cron wheel.

> There are LOTS of good features that we don't have yet simply because
> nobody's had time to implement them.

Implementation work is only part of it. Any large feature will create
an ongoing, distributed maintenance overhead. It seems entirely
possible to me that we'd not accept such a feature even if someone
dropped a working implementation on us.

But having said that, it's not apparent to me why such a thing would
need to live "inside the database" at all. It's very easy to visualize
a task scheduler that runs as a client and requires nothing new from the
core code. Approaching the problem that way would let the scheduler
be an independent project that stands or falls on its own merits.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2012-03-06 15:31:44 Re: Checksums, state of play
Previous Message Bruce Momjian 2012-03-06 15:16:29 Re: Dropping PL language retains support functions