Re: Does pg_dump have result codes to indicate success or failure - Mailing list pgsql-general

From Michael Fuhr
Subject Re: Does pg_dump have result codes to indicate success or failure
Date
Msg-id 20060123045541.GA73697@winnie.fuhr.org
Whole thread Raw
In response to Does pg_dump have result codes to indicate success or failure  (frank church <pgsql@adontendev.net>)
List pgsql-general
On Mon, Jan 23, 2006 at 02:23:15AM +0000, frank church wrote:
> I want to use pg_dump in a php program. Does pg_dump have specific error codes?
>
> Does use the normal shell result codes to indicate success or failure ?

A quick look through the pg_dump source code finds exit codes of 0
(success) and 1 (failure).

--
Michael Fuhr

pgsql-general by date:

Previous
From: frank church
Date:
Subject: Does pg_dump have result codes to indicate success or failure
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Numbers