pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Scalia <jayknowsunix@gmail.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: postgresql checking return status of archive_command?
Date: Fri, 11 Jul 2014 10:01:42 -0400
Message-ID: <53BFEE46.9050301@gmail.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

hi all,

First off, my thanks to everyone who responded to my last post regarding copying WAL segments to 2 standby servers. My script is working wonderfully now, but I have a followup 
question like the subject line. 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.

TIA,
Jay


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (3+ messages)  latest in thread

Message-ID: <53BFEE46.9050301@gmail.com>
Permalink:  ../53BFEE46.9050301@gmail.com/
Also on:    postgresql.org/message-id/53BFEE46.9050301@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: jayknowsunix@gmail.com
  Subject: Re: postgresql checking return status of archive_command?
  In-Reply-To: <53BFEE46.9050301@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox