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.89) (envelope-from ) id 1gm1Af-0001j4-50 for pgsql-general@arkaria.postgresql.org; Tue, 22 Jan 2019 18:53:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gm19f-00047z-0J for pgsql-general@arkaria.postgresql.org; Tue, 22 Jan 2019 18:52:11 +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 1gm19e-00047l-KN for pgsql-general@lists.postgresql.org; Tue, 22 Jan 2019 18:52:10 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gm19b-0005fw-K2 for pgsql-general@postgresql.org; Tue, 22 Jan 2019 18:52:09 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 7963615B8; Tue, 22 Jan 2019 13:52:05 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 22 Jan 2019 13:52:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=e1PKzZ0kyxMR3g2dMJizQ43LhFc GjSyR+hyirUcllt4=; b=MKx56hBbDmBFcCWXHhfGKN1Q0qoKmMHJHWloReH+P95 2FDTlBKPiCfM+QSG8ZQIjTnwDs4k/A5JRpSsen4j7TdkTsOvYnLO1ljxSS7LrZOo fOn1xTVK9Z2QIq2SFjTI0sWvR99qBZDWf0Hqwf6UfM+RKzR4Pc069S5QDg3FfM6S e2nxwFbNlQqN4SxZd0CDerbmRkNBpgzck1k35dTRDFLmn1/PnJIIUw5bpNTsos3f wMkPTWKE/iEorLJm9RpU4gpDXu8t+FxHV6RKqUrZpSwiyeN8TmIDy1NR7I1n7Fon 33Q01++9qFFq5nk2pf80EmXh1rHCZ4hct7WRMNYOIfQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=e1PKzZ 0kyxMR3g2dMJizQ43LhFcGjSyR+hyirUcllt4=; b=Zlezp8uefvvrxYF1QziHQ0 3TF+9n0SjcjwS7DGXKamxjhbGHw+dfvgQlY/eZxGJ27C7gw1o6SWOYyw3cvLUE4s q9NGXE2JK84AqZLF3AVySV5udFYKdvSMLSgrINpp/dMY774qSX7KvworeHcOgmdP 8k790Q4zpO4Psa4Rxo3JEr6PJy+HxV80qqH+4/y10X4a2sqhGWen6qIprC2NOiXv nyRy2w2Ugp6DPKSkFdRe63PwybdKiidRctsv7lh47pnSl4fZrP2sDlOfjivXzxpP QWyndBiNMRgizna6mUhbLx+ZjaOO30+JmizQesF/tdtuYG1kxQtgVWZYzQH7xZNQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrheekgdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvuffkfh ggtggujgesthdtredttddtvdenucfhrhhomheptehnughrvghsucfhrhgvuhhnugcuoegr nhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuffhomhgrihhnpehsthgrtghkohhvvg hrfhhlohifrdgtohhmnecukfhppeelkedrvddutddrudegtddrudejudenucfrrghrrghm pehmrghilhhfrhhomheprghnughrvghssegrnhgrrhgriigvlhdruggvnecuvehluhhsth gvrhfuihiivgeptd X-ME-Proxy: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 4DE8DE4046; Tue, 22 Jan 2019 13:52:04 -0500 (EST) Date: Tue, 22 Jan 2019 10:52:03 -0800 From: Andres Freund To: Josef Machytka Cc: pgsql-general@postgresql.org Subject: Re: PostgreSQL logical replication depends on WAL segments? Message-ID: <20190122185203.dxv5abjm5dxuh5zz@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2019-01-22 14:18:12 +0100, Josef Machytka wrote: > Hello, I already tried to ask on stackoverflow but so far without success. > ( > https://stackoverflow.com/questions/54292816/postgresql-logical-replication-depends-on-wal-segments > ) > > Could someone help me please? > > **** > > I am successfully using logical replication between 2 PG 11 cloud VMs for > latest data. But I tried to publish also some older tables to transfer data > between databases and got strange error about missing WAL segment. That ought not to happen, logical replication won't start in the past, and the slot will prevent necessary WAL from being removed. Are you manually removing WAL from pg_wal/? Greetings, Andres Freund