pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Decibel! <decibel@decibel.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jeff Frost <jeff@frostconsultingllc.com>
Cc: pgsql-admin@postgresql.org, Simon Riggs <simon@2ndquadrant.com>
Subject: Re: pitr replica dies on startup
Date: Sat, 1 Sep 2007 19:12:33 -0500
Message-ID: <20070902001233.GD38801@decibel.org> (raw)
In-Reply-To: <5916.1188611810@sss.pgh.pa.us>
References: <Pine.LNX.4.64.0708311523260.11463@discord.home.frostconsultingllc.com>
	<3673.1188602373@sss.pgh.pa.us>
	<Pine.LNX.4.64.0708311822070.11463@discord.home.frostconsultingllc.com>
	<5802.1188611110@sss.pgh.pa.us>
	<Pine.LNX.4.64.0708311846140.11463@discord.home.frostconsultingllc.com>
	<5916.1188611810@sss.pgh.pa.us>

On Fri, Aug 31, 2007 at 09:56:50PM -0400, Tom Lane wrote:
> Jeff Frost <jeff@frostconsultingllc.com> writes:
> > That all seems reasonable enough.  Is it in the docs somewhere?  I
> > didn't find anything like this mentioned.  If not, could we get it
> > added as a note?
> 
> Yeah, it hadn't occurred to anyone to specify this, because we just
> thought of recovery_command as fetching from a static archive.
> We clearly need to document the expected semantics better.
> 
> I'm wondering whether we should discourage people from putting
> side-effects into the recovery_command, period.  You already found out
> that recovery can ask for the same file more than once, but what if it
> never asks for a particular file at all?  I'm not sure that can happen,
> just playing devil's advocate.

I'd rather go the route of documenting the details of how
(archive|recovery)_command is used; one of the huge benefits of our
system over others is the flexibility you have in being able to run
whatever command you want.

I know Simon was working on some improvements to the PITR docs, but I
don't know if that's been committed or not yet.
-- 
Decibel!, aka Jim Nasby                        decibel@decibel.org
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)

view thread (9+ messages)  latest in thread

Message-ID: <20070902001233.GD38801@decibel.org>
Permalink:  ../20070902001233.GD38801@decibel.org/
Also on:    postgresql.org/message-id/20070902001233.GD38801@decibel.org

 · 

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: decibel@decibel.org, tgl@sss.pgh.pa.us, jeff@frostconsultingllc.com, simon@2ndquadrant.com
  Subject: Re: pitr replica dies on startup
  In-Reply-To: <20070902001233.GD38801@decibel.org>

* 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