Re: pg_dump failed with error code 255, but I don't see why

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ron <ronljohnsonjr(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump failed with error code 255, but I don't see why
Date: 2022-09-22 14:34:00
Message-ID: 1397197.1663857240@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ron <ronljohnsonjr(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2022-09-22 14:56:45 Re: pg_dump failed with error code 255, but I don't see why
Previous Message Ron 2022-09-22 14:19:39 pg_dump failed with error code 255, but I don't see why