pg_stat_archiver issue with aborted archiver - Mailing list pgsql-hackers

From Julien Rouhaud
Subject pg_stat_archiver issue with aborted archiver
Date
Msg-id 55731BB8.1050605@dalibo.com
Whole thread Raw
Responses Re: pg_stat_archiver issue with aborted archiver  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
Hello,

I just noticed that if the archiver aborts (for instance if the
archive_command exited with a return code > 127), pg_stat_archiver won't
report those failed attempts. This happens with both 9.4 and 9.5 branches.

Please find attached a patch that fix this issue, based on current head.

Regards.
--
Julien Rouhaud
http://dalibo.com - http://dalibo.org


Attachment

pgsql-hackers by date:

Previous
From: Sehrope Sarkuni
Date:
Subject: Re: [CORE] Restore-reliability mode
Next
From: Kevin Grittner
Date:
Subject: Re: [CORE] Restore-reliability mode