Ron <ronljohnsonjr@xxxxxxxxx> 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