How to check for pg_dump errors? - Mailing list pgsql-admin

From Chris Hoover
Subject How to check for pg_dump errors?
Date
Msg-id 1d219a6f0510071313h3aa2c7c6x10bc33d6a7740c3b@mail.gmail.com
Whole thread Raw
Responses Re: How to check for pg_dump errors?
Re: How to check for pg_dump errors?
List pgsql-admin
Silly question, but in a shell script, what is the best way to check for a pg_dump problem?  I'm working on reworking our backup methodology, and want to make sure that if pg_dump can't dump a db, we page the on call db.  Does it return any sort of exit code indicating it was not successful dumping a database?

Thanks,

Chris

pgsql-admin by date:

Previous
From: lorid
Date:
Subject: How do I unsubscribe?
Next
From: Tom Lane
Date:
Subject: Re: How to check for pg_dump errors?