[PATCH] Report exit code from external recovery commands properly

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] Report exit code from external recovery commands properly
Date: 2013-11-13 11:42:48
Message-ID: 1384342968.15453.2.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

When an external recovery command such as restore_command or
archive_cleanup_command fails, it just reports "return code 34567" or
something, but we have facilities to do decode this properly, so use
them.

Attachment Content-Type Size
0001-Report-exit-code-from-external-recovery-commands-pro.patch text/x-patch 1.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2013-11-13 11:48:15 Re: ALTER TABLE lock strength reduction patch is unsafe
Previous Message Peter Eisentraut 2013-11-13 11:32:30 Re: patch to fix unused variable warning on windows build