pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: edward@heroku.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6671: Killed restore command causes postmaster to exit
Date: Thu, 31 May 2012 18:53:17 -0400
Message-ID: <23488.1338504797@sss.pgh.pa.us> (raw)
In-Reply-To: <E1SaAXd-00072t-4n@wrigleys.postgresql.org>
References: <E1SaAXd-00072t-4n@wrigleys.postgresql.org>

edward@heroku.com writes:
> We have this thing where we kill the restore command sometimes, to ensure
> it's not stuck. 

Um, what makes you think that's a good idea?

> This has rarely led to postmaster dying afterwards instead of retrying.

"Rarely"?  As I read the code, it will happen every single time.
Failure of the restore process is a failure, we do not retry.
(The general theory is that if you think you need retries, you
should code the restore_command to handle that.)

			regards, tom lane



view thread (2+ messages)

Message-ID: <23488.1338504797@sss.pgh.pa.us>
Permalink:  ../23488.1338504797@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23488.1338504797@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, edward@heroku.com
  Subject: Re: BUG #6671: Killed restore command causes postmaster to exit
  In-Reply-To: <23488.1338504797@sss.pgh.pa.us>
  References: <E1SaAXd-00072t-4n@wrigleys.postgresql.org> <23488.1338504797@sss.pgh.pa.us>

* 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