Re: postgresql checking return status of archive_command? - Mailing list pgsql-admin

From Devrim Gündüz
Subject Re: postgresql checking return status of archive_command?
Date
Msg-id 1405087458.4059.10.camel@asus-laptop-03.gunduz.org
Whole thread Raw
In response to postgresql checking return status of archive_command?  (John Scalia <jayknowsunix@gmail.com>)
Responses Re: postgresql checking return status of archive_command?
List pgsql-admin
Hi,

On Fri, 2014-07-11 at 10:01 -0400, John Scalia wrote:
> Does postgresql or any of its child processes check the return code of
> the command executed in the archive_command and does it log anything
> if that  return code is NOT zero? I've been trying to think of easy
> ways to force an error to test, but thought I'd ask first.

It does. It will throw an error to log file, if the return code is
non-zero.


Regards,

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachment

pgsql-admin by date:

Previous
From: John Scalia
Date:
Subject: postgresql checking return status of archive_command?
Next
From: John Scalia
Date:
Subject: WAL segment management on a standby