| От | Mike Mascari |
|---|---|
| Тема | Re: access linux command from SQL Query |
| Дата | |
| Msg-id | 3FA896A6.7040805@mascari.com обсуждение исходный текст |
| Ответ на | access linux command from SQL Query ("Alam Surya" <alam_it@csahome.com>) |
| Список | pgsql-general |
Alam Surya wrote: > hello all...... > > I have a litle question, do i have acces linux command from postgresql > query like send message to others linux user in LAN ? any feature for that ? You could use a system() call in a C function, or you could use Peter Eisentraut's pl/sh language: http://webmail.postgresql.org/~petere/plsh.html Of course, if you use trigger functions to send email messages you lose transactional integrity with respect to the underlying data vs. the email message in the face of a transaction abort. Therefore some people do this in middleware after the transaction associated with the email message has been committed. Hope that helps, Mike Mascari mascarm@mascari.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера