pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Förster <paul.foerster@gmail.com>
To: Alexander Kukushkin <cyberdemn@gmail.com>
Cc: Ian Barwick <ian.barwick@2ndquadrant.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Highly academic: local etcd & Patroni Cluster for testing on a single host
Date: Wed, 26 Feb 2020 09:40:21 +0100
Message-ID: <288541E6-FF55-4691-ABD0-1ED386E47DDD@gmail.com> (raw)
In-Reply-To: <CAFh8B==q=WKSAu5ed=vz7UjxWkuh_5czY95Pe+BrBy2g0x1xTg@mail.gmail.com>
References: <51854B87-A964-4F64-8EC4-8ABF51A0716E@gmail.com>
	<ef8c9642-6ef5-0b1d-9c75-19088ec10ad9@2ndquadrant.com>
	<4F8DF27C-E82A-4CBC-B06E-AD4FCD3E66FF@gmail.com>
	<CAFh8B==q=WKSAu5ed=vz7UjxWkuh_5czY95Pe+BrBy2g0x1xTg@mail.gmail.com>

Hi Alexander,

> On 26. Feb, 2020, at 09:19, Alexander Kukushkin <cyberdemn@gmail.com> wrote:
> That's not correct, Patroni will happily pick up the existing data directory.

maybe I didn't express myself correctly. Of course it does. Otherwise replication wouldn't make sense. I meant, starting a Patroni replica for the first time will copy everything over from the master as it is.

> This is also not correct. One can specify arbitrarily parameters for
> pg_basebackup in the Patroni config file:
> postgresql:
>  basebackup:
>    tablespace-mapping: /foo=/bar
>    waldir: /my/waldir

I didn't know that. Thanks very much. :-) I'll give it a try.

So, this is a Patroni question and not a PostgreSQL question after all and actually doesn't belong here anyway. Still, thanks for the answer.

Cheers,
Paul




view thread (7+ messages)  latest in thread

Message-ID: <288541E6-FF55-4691-ABD0-1ED386E47DDD@gmail.com>
Permalink:  ../288541E6-FF55-4691-ABD0-1ED386E47DDD@gmail.com/
Also on:    postgresql.org/message-id/288541E6-FF55-4691-ABD0-1ED386E47DDD@gmail.com

 · 

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: paul.foerster@gmail.com, cyberdemn@gmail.com, ian.barwick@2ndquadrant.com
  Subject: Re: Highly academic: local etcd & Patroni Cluster for testing on a single host
  In-Reply-To: <288541E6-FF55-4691-ABD0-1ED386E47DDD@gmail.com>
  References: <51854B87-A964-4F64-8EC4-8ABF51A0716E@gmail.com> <ef8c9642-6ef5-0b1d-9c75-19088ec10ad9@2ndquadrant.com> <4F8DF27C-E82A-4CBC-B06E-AD4FCD3E66FF@gmail.com> <CAFh8B==q=WKSAu5ed=vz7UjxWkuh_5czY95Pe+BrBy2g0x1xTg@mail.gmail.com> <288541E6-FF55-4691-ABD0-1ED386E47DDD@gmail.com>

* 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