PATCH: pg_basebackup (missing exit on error) - Mailing list pgsql-hackers

From Thomas Ogrisegg
Subject PATCH: pg_basebackup (missing exit on error)
Date
Msg-id 20120124093919.GA31031@eristoteles.iwoars.net
Whole thread Raw
Responses Re: PATCH: pg_basebackup (missing exit on error)
List 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

pgsql-hackers by date:

Previous
From: Giuseppe Sucameli
Date:
Subject: Different error messages executing CREATE TABLE or ALTER TABLE to create a column "xmin"
Next
From: Dominik Bylica
Date:
Subject: Psql names completion.