pg_dump error codes - Mailing list pgsql-general

From alexandre - aldeia digital
Subject pg_dump error codes
Date
Msg-id 43B90448.6050609@ad2.com.br
Whole thread Raw
Responses Re: pg_dump error codes
Re: pg_dump error codes
List 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 by date:

Previous
From: Rajendra Talekar
Date:
Subject: Need Licensing Information for bundling POSTGRESQL With Softwares
Next
From: "Marc Mamin"
Date:
Subject: Casting issue with aggregated function