Re: How to write jobs in postgresql - Mailing list pgsql-general

From Guy Rouillier
Subject Re: How to write jobs in postgresql
Date
Msg-id CC1CF380F4D70844B01D45982E671B239E8AA0@mtxexch01.add0.masergy.com
Whole thread Raw
In response to How to write jobs in postgresql  ("chiranjeevi.i" <chiranjeevi.i@pyronetworks.com>)
Responses Re: How to write jobs in postgresql
List pgsql-general
Roman Neuhauser wrote:
> # jnasby@pervasive.com / 2005-08-15 20:25:20 -0500:
>> On Tue, Aug 09, 2005 at 03:26:27PM -0500, Guy Rouillier wrote:
>>> chiranjeevi.i wrote:
>>>> Hi Team Members,
>>>>
>>>>     Is it possible to write jobs in postgresql & if possible how
>>>> should I write .please help me.
>>>
>>> See pgjob in pgfoundry: http://pgfoundry.org/projects/pgjob/.  It's
>>> in the planning stages.
>>
>> Actually, it's currently in the going nowhere stage since no one's
>> expressed any interest in it. Anyone who's interested is encouraged
>> to join the mailing list and post what they'd like to see from the
>> project.
>
>     What's the advantage over system-native (cron etc) means?

Search the archives, you'll find numerous discussions on this topic,
including the one that prompted Jim to create the project.  As of now,
the project is pre-concept stage, making it impossible to identify its
advantages.  One possible advantage would be recording job schedules in
the database where they can be easily managed, but that's small.  A
bigger advantage can be seen in the approach that Oracle takes, where
authentication happens when the job is created.  So you don't need to
provide credentials at run time, which in the case of cron jobs would
mean putting passwords into shell scripts.

--
Guy Rouillier


pgsql-general by date:

Previous
From: Jürgen Rose
Date:
Subject: SLOOOOOOOW
Next
From: Kevin Barnard
Date:
Subject: Help with row locks on 7.4 to 8.0 migration