Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j6sF6-0005CD-QC for pgsql-general@arkaria.postgresql.org; Wed, 26 Feb 2020 08:40:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j6sF5-0003d9-Mv for pgsql-general@arkaria.postgresql.org; Wed, 26 Feb 2020 08:40:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j6sF5-0003Zv-9h for pgsql-general@lists.postgresql.org; Wed, 26 Feb 2020 08:40:31 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j6sEz-0003ho-8A for pgsql-general@lists.postgresql.org; Wed, 26 Feb 2020 08:40:30 +0000 Received: by mail-wm1-x343.google.com with SMTP id f15so1178908wml.3 for ; Wed, 26 Feb 2020 00:40:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qQjumfXF4hm+f4VbhjbBHJSRfyJ1lp5s4doBcGYNQdo=; b=nVJY2cbz5C/V7ebLA5GpRqgDbHpSOx9hwK+mmlMQVk00FlG0X66StUXC1Sl/L+V07O xU+/RuuZ1hSNk7MYRHPNztfcIeHR9ztf/9CuXN5si9XINizepUQmB30ugIkwiI+mTdXO P8EbEfmjEii8CvWlhnaf2TJOUPwj2In0B830X1ydWkIe1lZZKW7eXjo9xqROVsDMS6LZ hOqGY+ZPA/hiTfQCE1rlakk0HQgM0yLItU28GmypMKhUiAI0hnM5aBDmOgam+eF2uKg6 HwMJdOQF9AhNlO5QJm9Qnt+0CaSf3rLiMrxED9edI+IWI2V9DRVmrRPa6duzBVlymNij Ai+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qQjumfXF4hm+f4VbhjbBHJSRfyJ1lp5s4doBcGYNQdo=; b=k/gtsARypTUYu16WERI0A+SvS5ww28Xzo7nN6IK9pGKeM3dPbBsUqumxqA2ISVMCZ1 0DouIDcB9VjpkfFPm2/8ebxb4DoX+vcWqGodz7scxYkBFtVubUyrY6VieyvxI7gX3puw F+8/YAiZLD9eOWPLVqPx7SDMznOWlEAKHHA/gSzemZi+zRW0Oppp8KwytS76oV3Suams /r3hetbAcwmcYOuStkI1F2E94jP6vpBUuC1ar/3VE/7wC+CTOVSg2gmKDeJfBH2Y8q8J fgbyLOwfd34YOYXtft6qFth1jfI6wfwYQOaT8yDrKVo5UKlZnQgNlD43TzuNTV1lXnrg 3Uvw== X-Gm-Message-State: APjAAAXXTkjlrikNt2XMe1aehQxX79UVHw6pAo+Isl9MtYzqkrgPkLR2 UJf81ysrUVnc4fgNqGXaOhg= X-Google-Smtp-Source: APXvYqxz3LmiY+Hj0je8eEVlcHiwy/KNs51WpiVLfzcLLo6LN/D59doO8307TYtJahsMTjuMk21wHA== X-Received: by 2002:a1c:4c13:: with SMTP id z19mr4057916wmf.75.1582706423650; Wed, 26 Feb 2020 00:40:23 -0800 (PST) Received: from [192.168.1.8] (137-33-239-77.dyn.cable.fcom.ch. [77.239.33.137]) by smtp.gmail.com with ESMTPSA id w22sm1920450wmk.34.2020.02.26.00.40.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Feb 2020 00:40:23 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: Highly academic: local etcd & Patroni Cluster for testing on a single host From: =?utf-8?Q?Paul_F=C3=B6rster?= In-Reply-To: Date: Wed, 26 Feb 2020 09:40:21 +0100 Cc: Ian Barwick , pgsql-general@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <288541E6-FF55-4691-ABD0-1ED386E47DDD@gmail.com> References: <51854B87-A964-4F64-8EC4-8ABF51A0716E@gmail.com> <4F8DF27C-E82A-4CBC-B06E-AD4FCD3E66FF@gmail.com> To: Alexander Kukushkin X-Mailer: Apple Mail (2.3608.60.0.2.5) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Alexander, > On 26. Feb, 2020, at 09:19, Alexander Kukushkin = 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=3D/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=