PATCH: pg_basebackup (missing exit on error)

From: Thomas Ogrisegg <tom-nic(at)patches(dot)fnord(dot)at>
To: pgsql-hackers(at)postgresql(dot)org
Subject: PATCH: pg_basebackup (missing exit on error)
Date: 2012-01-24 09:39:19
Message-ID: 20120124093919.GA31031@eristoteles.iwoars.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

While testing a backup script, I noticed that pg_basebackup exits with
0, even if it had errors while writing the backup to disk when the
backup file is to be sent to stdout. The attached patch should fix this
problem (and some special cases when the last write fails).

Regards,

Thomas

Attachment Content-Type Size
pgbasebackup.patch text/x-diff 1.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2012-01-24 09:43:47 Re: WAL Restore process during recovery
Previous Message Florian Weimer 2012-01-24 08:16:46 Re: Page Checksums