Re: How to write jobs in postgresql

Поиск
Список
Период
Сортировка
От Guy Rouillier
Тема Re: How to write jobs in postgresql
Дата
Msg-id CC1CF380F4D70844B01D45982E671B239E8AA0@mtxexch01.add0.masergy.com
обсуждение исходный текст
Ответ на How to write jobs in postgresql  ("chiranjeevi.i" <chiranjeevi.i@pyronetworks.com>)
Ответы Re: How to write jobs in postgresql  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список 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 по дате отправления:

Предыдущее
От: Jürgen Rose
Дата:
Сообщение: SLOOOOOOOW
Следующее
От: Kevin Barnard
Дата:
Сообщение: Help with row locks on 7.4 to 8.0 migration