Re: postgresql checking return status of archive_command?

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: John Scalia <jayknowsunix(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: postgresql checking return status of archive_command?
Date: 2014-07-11 14:04:18
Message-ID: 1405087458.4059.10.camel@asus-laptop-03.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message John Scalia 2014-07-11 16:49:46 WAL segment management on a standby
Previous Message John Scalia 2014-07-11 14:01:42 postgresql checking return status of archive_command?