Re: Writing data to a text file based on a trigger event...
В списке pgsql-general по дате отправления:
| От | Jasen Betts |
|---|---|
| Тема | Re: Writing data to a text file based on a trigger event... |
| Дата | |
| Msg-id | jmd4ll$jjp$2@reversiblemaps.ath.cx обсуждение исходный текст |
| Ответ на | Writing data to a text file based on a trigger event... (raghupradeep <raghupradeep@gmail.com>) |
| Список | pgsql-general |
On 2012-04-12, raghupradeep <raghupradeep@gmail.com> wrote: > Hi , > > I am basically a MySQL DBA and have little idea on PostgreSQL. In our > environment we have an application which is using PostgreSQL as its back > end. The application logs the status of the jobs running in it to a table in > this database i.e when a job starts it inserts a new row to this table and > it keeps on updating the column `status` based on the status of the job > running. So the requirement that we have is I need to capture certain status > values and based on it need to through alert to our centralized monitoring > system. > > What I need to know is it possible to write a trigger which will write the > data of the row whose status column gets updated to a text file? you mean like "RAISE LOG" does? or do you have specific requirements? -- ⚂⚃ 100% natural
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера