Re: [PATCHES] pg_standby

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: "Doug Knight" <dknight(at)wsi(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] pg_standby
Date: 2007-03-08 18:34:27
Message-ID: 1173378868.3641.164.camel@silverbirch.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Thu, 2007-03-08 at 13:29 -0500, Doug Knight wrote:

> I would preserve the existing trigger function as little t "-t", and
> maybe implement a catchup trigger function as big t "-T"? Set it up so
> that if the first attempt to find the WAL file postgres is currently
> requesting succeeds, skip over the trigger check. If the first attempt
> fails, then do your trigger check. That way, in the OCF script, the
> postmaster can be started, the trigger file set, and connection to the
> database looped on until it succeeds as an indication for when the
> database is up and available. I think that's cleaner than comparing a
> filename from a 'ps' command. Once I've completed the OCF script and
> done some testing, I'll forward it to you for you to review and see if
> you want to include it.

I'm happy to do this, unless other objections.

I'll be doing another version before feature freeze.

--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gaetano Mendola 2007-03-08 18:35:31 Re: Calculated view fields (8.1 != 8.2)
Previous Message Doug Knight 2007-03-08 18:29:50 Re: [PATCHES] pg_standby

Browse pgsql-patches by date

  From Date Subject
Next Message Jim C. Nasby 2007-03-08 18:44:20 Re: Auto creation of Partitions
Previous Message Simon Riggs 2007-03-08 18:31:36 Re: log_autovacuum