Re: [OT] Dilemma about OS <-> Postgres interaction - Mailing list pgsql-general

From Harald Fuchs
Subject Re: [OT] Dilemma about OS <-> Postgres interaction
Date
Msg-id puk6y55b94.fsf@srv.protecting.net
Whole thread Raw
In response to [OT] Dilemma about OS <-> Postgres interaction  (Rory Campbell-Lange <rory@campbell-lange.net>)
Responses Re: [OT] Dilemma about OS <-> Postgres interaction  (Thomas Hallgren <thhal@mailblocks.com>)
Re: [OT] Dilemma about OS <-> Postgres interaction  (Rory Campbell-Lange <rory@campbell-lange.net>)
List pgsql-general
In article <20040617232536.GB17879@campbell-lange.net>,
Rory Campbell-Lange <rory@campbell-lange.net> writes:

> I should have mentioned that we need the messages sent very soon after
> they have landed in the 'inbox'; otherwise cron would definitely be the
> way to go -- including an @reboot line.

This rules out a cronjob.  How about writing a pl/perlu function which
sends the mail and calling that function by an AFTER INSERT trigger?

pgsql-general by date:

Previous
From: Hubert Fröhlich
Date:
Subject: Re: Postgres "invalid page header"
Next
From: "raptor@tvskat.net"
Date:
Subject: virtual fields on VIEW?