RE: pg_basebackup exit codes

2019-08-19 Thread John Donath
Thanks a lot Magnus! I should have known better … ☺ But thanks for the PIPESTATUS hint which comes in uttermost handy Regards, John Van: Magnus Hagander Verzonden: maandag 19 augustus 2019 13:46 Aan: John Donath CC: pgsql-general@lists.postgresql.org Onderwerp: Re: pg_basebackup exit codes

Re: pg_basebackup exit codes

2019-08-19 Thread Magnus Hagander
On Mon, Aug 19, 2019 at 12:18 PM John Donath wrote: > Hi, > > > > I was unpleasantly surprised to see that pg_basebackup will return a zero > (Success) exit code even when it has actually failed like below: > > > > pg_basebackup: could not write to compressed file > "/var/lib/pgsql/10/inst1/backu