Re: Looking for auto starting procedures

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: mabra(at)manfbraun(dot)de
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Looking for auto starting procedures
Date: 2010-12-02 00:42:37
Message-ID: 4CF6EB7D.8020200@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/01/2010 11:16 PM, mabra(at)manfbraun(dot)de wrote:

> The othing thing is, that I need some internally running procedures, which
> do some work. On Sql Server, I can use "auto-start stored procedures".
> Is there anything like this in postgresql, or what can I do?

There is no built-in scheduler at present. Use PgAgent.

There's been talk of integrating PgAgent into core, or at least some
enhancements to core to let it run without needing an external daemon.

> And, is it just possible, to put a message to the syslog and with
> my own identification string?

I'm not aware of a syslog module, but it'd be handy to have and it'd be
pretty simple to write as a C extension.

Usually people use 'RAISE NOTICE' to report to the database's logging.

--
Craig Ringer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2010-12-02 00:54:39 Re: How to find correct locale name for CREATE DATABASE
Previous Message James B. Byrne 2010-12-02 00:23:39 Re: PG84 and SELinux