Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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).



Attachment: pgbasebackup.patch
Description: text/x-diff (1.3 KB)


pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group