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 1glxTd-00069e-2c for pgsql-general@arkaria.postgresql.org; Tue, 22 Jan 2019 14:56:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1glxTa-0006tz-AD for pgsql-general@arkaria.postgresql.org; Tue, 22 Jan 2019 14:56:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glxTY-0006tk-Ps for pgsql-general@lists.postgresql.org; Tue, 22 Jan 2019 14:56:30 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glxTU-0002kI-7g for pgsql-general@postgresql.org; Tue, 22 Jan 2019 14:56:28 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 186A921EAE; Tue, 22 Jan 2019 09:56:21 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 22 Jan 2019 09:56:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=v 7zC3QYYu6+58UCtKZ+/fuXUhcLYGBk2ukGU1jFPdUI=; b=YhK+EI2K27P3xjW6c KIowEIVu8prPnpzOUoj8KRkUcbzi4H5yfB3JUr/owYom3HxVc6BDvwqOliAzu37P A7FqsLOvkxKU9yXCnJEl9khA0g67qBMOGVDZ74grqv3aw5n7erBQS0vZaDKQgz2L C1ZK9dy0oqDpUwv9av8L7SavudUkgxuGr0PDRKqtJbCiiJ7nhj2iuW0NKvORHZLK bbS+HomxThT9pilVT/2a3AJQbSxCOfEyGM6zN8ie3EDuQDzilRhkQaqu9rTrspTx i89DCZ5q09JQWvR8AKtN1VDBaqo+B4x4f+bK5K46qRk89ll6GTrg4Nt9Y8g/ji3b zwuhA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding: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=v7zC3QYYu6+58UCtKZ+/fuXUhcLYGBk2ukGU1jFPd UI=; b=dfzIiOjAZAl1lHAm+1kKy58Anm7AdU7dDg6Do7cVNLV6eiSo1KKiVNTWv 3j91YSZtEu4RvN9PTQX5XtfQmhoqNrkdLY0LKPkQatmXCQdlKgHJI6P2nq8LROM9 40BEju9SuaNuBwBgSDaey6jUCgkYb8aNmTGPiImvJDS0tjBZUnar+jqdIsfD0cG8 0IWtdSuRg6hjLEK8CvY4OUvZ3z9Kj0n+B8FVLa1EpYIrnK+kjAsWYmekJij1OSqE vKIsvAeYsJJOBjunsmErm4TBHUyW/TmNWgepGX55Ej2qLu8ErV1hxzux2neshvzl PQoZUab4QmMli3E5ZWXgyHYLu1Lig== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrheekgdeikecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepuffvfhfhkffffg ggjggtgfesthejredttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegr ughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucffohhmrghinhepph hoshhtghhrvghsqhhlrdhorhhgpdhsthgrtghkohhvvghrfhhlohifrdgtohhmnecukfhp peejuddrvdduvddrudefgedrfeenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirg hnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.2] (unknown [71.212.134.3]) by mail.messagingengine.com (Postfix) with ESMTPA id D12FDE4803; Tue, 22 Jan 2019 09:56:19 -0500 (EST) Subject: Re: PostgreSQL logical replication depends on WAL segments? To: Josef Machytka , pgsql-general@postgresql.org References: From: Adrian Klaver Message-ID: <507c69ad-e87b-2180-c2ec-08e1aee20352@aklaver.com> Date: Tue, 22 Jan 2019 06:56:18 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 1/22/19 5:18 AM, 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. > > These older partitions contain data 5-6 days old. I successfully > published them on master and refreshed subscription on logical replica. > But now I am getting these strange error messages on logical replica: > > > Which is confusing for me. I tried to find some info but did not find > anything about logical replication depending on WAL segments. https://www.postgresql.org/docs/11/logical-replication-architecture.html > Thanks for help. > > Josef Machytka > -- Adrian Klaver adrian.klaver@aklaver.com