Re: pg_dump failed with error code 255, but I don't see why - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_dump failed with error code 255, but I don't see why
Date
Msg-id 1397197.1663857240@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump failed with error code 255, but I don't see why  (Ron <ronljohnsonjr@gmail.com>)
Responses Re: pg_dump failed with error code 255, but I don't see why
List pgsql-general
Ron <ronljohnsonjr@gmail.com> writes:
> v9.6.2.23
> I always run pg_dump with the --verbose option, and the bash script echos 
> $?, so there's a 25,664 line log file for me to examine which explicitly 
> shows the return code.

A quick search of the 9.6 pg_dump source code shows that it only
ever calls exit() with values 0 or 1.  255 would have to be coming
from some outside factor.  You sure your shell script isn't
misbehaving and corrupting the reported return code?

            regards, tom lane



pgsql-general by date:

Previous
From: Ron
Date:
Subject: pg_dump failed with error code 255, but I don't see why
Next
From: Ron
Date:
Subject: Re: pg_dump failed with error code 255, but I don't see why