pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Олег Самойлов <splarv@ya.ru>
To: Yuri Kanivetsky <yuri.kanivetsky@gmail.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: New timeline when starting with a restored data dir
Date: Wed, 10 Apr 2019 18:07:21 +0300
Message-ID: <CC5734C0-C33B-4F64-8F58-0BEF9AC59E3B@ya.ru> (raw)
In-Reply-To: <CAMhVC3aDZ24LQuJffCh1ygH_ktxxk7hP9+Hay6WfpLyRecidqg@mail.gmail.com>
References: <CAMhVC3aDZ24LQuJffCh1ygH_ktxxk7hP9+Hay6WfpLyRecidqg@mail.gmail.com>

It’s normal behaviour to create a new timeline, when a PostgreSQL slave become a new master. This is for what timelines were designed.

> 19 нояб. 2018 г., в 0:50, Yuri Kanivetsky <yuri.kanivetsky@gmail.com> написал(а):
> 
> Hi,
> 
> I'm trying to set up Barman, and I've noticed that PostgreSQL 10
> creates a new timeline when starting with a restored data dir.
> Particularly, when WAL files are delivered via restore_command. When
> WAL files are copied to pg_wal dir, no new timeline is created. Is it
> to be expected? Can you explain?
> 
> I decided to ask here first, since you might know better how
> PostgreSQL operates.
> 
> Thanks in advance.
> 






view thread (2+ messages)

Message-ID: <CC5734C0-C33B-4F64-8F58-0BEF9AC59E3B@ya.ru>
Permalink:  ../CC5734C0-C33B-4F64-8F58-0BEF9AC59E3B@ya.ru/
Also on:    postgresql.org/message-id/CC5734C0-C33B-4F64-8F58-0BEF9AC59E3B@ya.ru

 · 

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-general@postgresql.org
  Cc: splarv@ya.ru, yuri.kanivetsky@gmail.com
  Subject: Re: New timeline when starting with a restored data dir
  In-Reply-To: <CC5734C0-C33B-4F64-8F58-0BEF9AC59E3B@ya.ru>
  References: <CAMhVC3aDZ24LQuJffCh1ygH_ktxxk7hP9+Hay6WfpLyRecidqg@mail.gmail.com> <CC5734C0-C33B-4F64-8F58-0BEF9AC59E3B@ya.ru>

* 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