Re: TCLu and mail - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: TCLu and mail
Date
Msg-id Pine.LNX.4.30.0105271242400.757-100000@peter.localdomain
Whole thread Raw
In response to TCLu and mail  (Sébastien HEITZMANN <2le@2le.net>)
List pgsql-admin
Sébastien HEITZMANN writes:

> I'm looking for a tool to send mail from within a postgres function. I've
> found pgmail which do the job but it needs pltclU. I've installed pltcl from
> a RPM from REDHAT 7.0 but where can i find tclu ? I've looked in the source
> package and can't find anything about tclu. Where can i find it ?

I think it appeared in PostgreSQL 7.1.

> or maybe how can i send mail instead ?

Use PL/sh and write a function using mail(1).

http://www.postgresql.org/~petere/plsh.html

(Requires 7.1 as well.)

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-admin by date:

Previous
From: Sébastien HEITZMANN
Date:
Subject: Re: TCLu and mail
Next
From: Melvyn Sopacua
Date:
Subject: Postgres and chroot