Skip site navigation (1) Skip section navigation (2)

Re: WAL "low watermark" during base backup

From: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WAL "low watermark" during base backup
Date: 2011-09-02 18:12:40
Message-ID: CAJKUy5iwvw1m5ef1LZRjAVgEeOp7WuMF8hK=wBs258HixfgO0g@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Fri, Sep 2, 2011 at 12:52 PM, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> Attached patch implements a "low watermark wal location" in the
> walsender shmem array. Setting this value in a walsender prevents
> transaction log removal prior to this point - similar to how
> wal_keep_segments work, except with an absolute number rather than
> relative.

cool! just a question, shouldn't we clean the value after the base
backup has finished?

-- 
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación

In response to

Responses

pgsql-hackers by date

Next:From: Magnus HaganderDate: 2011-09-02 18:14:26
Subject: Re: WAL "low watermark" during base backup
Previous:From: Bruce MomjianDate: 2011-09-02 17:55:12
Subject: Re: pg_upgrade automatic testing

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group