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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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