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 1gm1BO-0001kh-GW for pgsql-general@arkaria.postgresql.org; Tue, 22 Jan 2019 18:53:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gm1BN-0002QS-BJ for pgsql-general@arkaria.postgresql.org; Tue, 22 Jan 2019 18:53:57 +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 1gm1BM-0002Q2-AF for pgsql-general@lists.postgresql.org; Tue, 22 Jan 2019 18:53:57 +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 1gm1BJ-0005i3-Jw for pgsql-general@postgresql.org; Tue, 22 Jan 2019 18:53:55 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 16BA715AD; Tue, 22 Jan 2019 13:53:52 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 22 Jan 2019 13:53:52 -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=CIEk/i+1+g3Em8hWH7RlOUW3b8V tmWDSAwRLfYWhILc=; b=ePPo+yZ7549dpSPW/FGiJQt934QZddBi6vyAehu/c/C zXTVxSFXTd5bH/NGsNqtS+KT6DuU1Z0eB5cRcBs8NhL5upcH4O/A7G0+ZzoPuajp XoHR/rDMoeQtgA8JjWUeDtSqEEik6j+uhsN2LW5yn0h7R1ypU/pwcM2LXp6jVZNi BuQF17qs7Rq/DueoVzvzVmN0/vUspnIKGrqo3HSiyEm85Z0bb9ZoT1anm/mxAr0i ir+KyLWzUWpBiwILxBNoihddESszJJ9dOM7IlJQns8oowHEqlRdxslUD4lyu8fsI oWgtTYbtZVKmQr1YgbmjxCTCBGU6ClVtZTBWcqFN7WQ== 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=CIEk/i +1+g3Em8hWH7RlOUW3b8VtmWDSAwRLfYWhILc=; b=lxFC4Rg0skEi76Q+auSFgl NHa4jTNs4b7B+I8GzTeq+QnQilo7krWh5Fss0nacwMSwbB1kw01hFEskDw0jD0mT GY3vA0qeV5oVz1z8Pixp4UxsoNr/iKidK2HxcvlfxG6E2FfVISmapo6GEAfP+ww/ uqjNRXHcxCn9VMrW41v1kPDSB6YQf3lVyDwuaS+rCBpxRDwDOw1Vk3zI/KB2mxxO kWood9ZYzGrj8SI9t3qyClfnLXX1X6d2vFP3Dm7ZW3y/THCqARLZWSA58NfgM5dW ImpbztWfRnh7O6MmaeX/8fIq7o6kkOSetr1G/t2gcHUAxC6Sgpiq5QH0X/sfb8/g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrheekgdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvuffkfh ggtggujgesthdtredttddtvdenucfhrhhomheptehnughrvghsucfhrhgvuhhnugcuoegr nhgurhgvshesrghnrghrrgiivghlrdguvgeqnecukfhppeelkedrvddutddrudegtddrud ejudenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvghssegrnhgrrhgriigvlhdr uggvnecuvehluhhsthgvrhfuihiivgepud 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 1F96710106; Tue, 22 Jan 2019 13:53:51 -0500 (EST) Date: Tue, 22 Jan 2019 10:53:49 -0800 From: Andres Freund To: Jeremy Finzel Cc: Adrian Klaver , Josef Machytka , Postgres General Subject: Re: PostgreSQL logical replication depends on WAL segments? Message-ID: <20190122185349.boppzrsby4ham7pc@alap3.anarazel.de> References: <507c69ad-e87b-2180-c2ec-08e1aee20352@aklaver.com> <47f78c16-1b15-8f2d-1cb0-613aaa973d5c@aklaver.com> 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 11:57:00 -0600, Jeremy Finzel wrote: > > > > That is news to me. Can you provide a citation for this? > > > > I can see the confusion in what I said. To clarify, I really meant that in > order to retrieve that data that you need in really old WAL segments, you > need to keep your replication slot in a position that will hold that WAL in > place. And that is what will prevent old rows from being vacuumed > away. Note replication slots only prevent old *catalog* rows from being removed, not old row versions in user created tables. Greetings, Andres Freund