Re: TCLu and mail

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: TCLu and mail
Дата
Msg-id Pine.LNX.4.30.0105271242400.757-100000@peter.localdomain
обсуждение исходный текст
Ответ на TCLu and mail  (Sébastien HEITZMANN <2le@2le.net>)
Список 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 по дате отправления:

Предыдущее
От: Sébastien HEITZMANN
Дата:
Сообщение: Re: TCLu and mail
Следующее
От: Melvyn Sopacua
Дата:
Сообщение: Postgres and chroot