pg_dump error codes

Поиск
Список
Период
Сортировка
От alexandre - aldeia digital
Тема pg_dump error codes
Дата
Msg-id 43B90448.6050609@ad2.com.br
обсуждение исходный текст
Ответы Re: pg_dump error codes  (Jon Jensen <jon@endpoint.com>)
Re: pg_dump error codes  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
Hi,

(maybe an idiot question)

In my Linux bash backup scripts, I wish to send an e-mail when an error
occurs in pg_dump proccess. And if possible, I want to send the error
output via e-mail.

Anybody knows how to capture the output and send this to an e-mail ONLY
if an error occurs ?

Thanks

Alexandre

В списке pgsql-general по дате отправления:

Предыдущее
От: Rajendra Talekar
Дата:
Сообщение: Need Licensing Information for bundling POSTGRESQL With Softwares
Следующее
От: "Marc Mamin"
Дата:
Сообщение: Casting issue with aggregated function