From: | Scott Ribe <scott_ribe(at)elevated-dev(dot)com> |
---|---|
To: | <mabra(at)manfbraun(dot)de> <mabra(at)manfbraun(dot)de> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Looking for auto starting procedures |
Date: | 2010-12-02 19:16:29 |
Message-ID: | 3DC41876-D07E-4345-8095-5F36DD5CDE08@elevated-dev.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Dec 2, 2010, at 11:32 AM, <mabra(at)manfbraun(dot)de> <mabra(at)manfbraun(dot)de> wrote:
>
> The usual notification from postgreSQL does not allow to write
> an [own, better to evaluate] identifier in the syslog. This is
> not a matter of the syslog daemon, its on the program which logs.
> May be, I have just not found this.
Am I missing something you require, or would this do it:
raise notice 'mynotice: %', some_id;
> An auto running stored procedure would solve the problem, if therewould be
> a way to run this procedure on server startup automatically
> [as it looks, write another daemon for this].
I've actually wanted that as well ;-) But it's not that hard to arrange for your script that starts the PG server to also run some SQL after the server launch.
--
Scott Ribe
scott_ribe(at)elevated-dev(dot)com
http://www.elevated-dev.com/
(303) 722-0567 voice
From | Date | Subject | |
---|---|---|---|
Next Message | Radosław Smogura | 2010-12-02 19:37:17 | Re: Full Text Partial Match at begining |
Previous Message | Andrus | 2010-12-02 19:11:14 | Re: How to find correct locale name for CREATEDATABASE |