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 1gm88l-0006vu-C2 for pgsql-general@arkaria.postgresql.org; Wed, 23 Jan 2019 02:19:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gm88k-0001wn-1U for pgsql-general@arkaria.postgresql.org; Wed, 23 Jan 2019 02:19:42 +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 1gm88j-0001wf-Pm for pgsql-general@lists.postgresql.org; Wed, 23 Jan 2019 02:19:41 +0000 Received: from hermes.gatewaynet.com ([193.92.121.98]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gm88g-0003CN-DP for pgsql-general@lists.postgresql.org; Wed, 23 Jan 2019 02:19:40 +0000 Received: from hercules.internal.net (hercules.internal.net [10.9.200.8]) by hermes.gatewaynet.com (8.14.3/8.14.3/Debian-9.4) with ESMTP id x0N2JJc2025885 for ; Wed, 23 Jan 2019 04:19:19 +0200 Received: from [10.9.251.5] (dcmchgw.internal.net [10.9.0.1]) by hercules.internal.net (Postfix) with ESMTPS id E8E0E210003 for ; Wed, 23 Jan 2019 04:19:18 +0200 (EET) Subject: Re: PostgreSQL logical replication depends on WAL segments? To: pgsql-general@lists.postgresql.org References: <507c69ad-e87b-2180-c2ec-08e1aee20352@aklaver.com> <20190122185244.7eakjblhzgvpcuyh@alap3.anarazel.de> <323036f2-079c-274d-9f10-5c4f8e89c689@matrix.gatewaynet.com> From: Achilleas Mantzios Message-ID: <8281458c-af43-424e-1b3d-d017aeadcfd4@matrix.gatewaynet.com> Date: Wed, 23 Jan 2019 04:19:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------1A7970D493190D08F41BA841" Content-Language: en-US X-Virus-Scanned: clamav-milter 0.98.7 at hermes X-Virus-Status: Clean X-Spam-Status: No, score=2.0 required=5.0 tests=ALL_TRUSTED,DYN_SPAM_SUBJ, HTML_MESSAGE autolearn=no version=3.3.1 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on hermes.gatewaynet.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------1A7970D493190D08F41BA841 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 22/1/19 10:18 μ.μ., Jeremy Finzel wrote: > On Tue, Jan 22, 2019 at 2:16 PM Jeremy Finzel > wrote: > > any one of those WAL files will not be archived and > recycled as long as it no longer needed by a replication slot > > > :(.  s/no longer/still.  I meant to say any one of those WAL files > will not be archived and recycled as long as it still needed by a > replication slot. A WAL segment will be archived as soon as it is completed. |https://www.postgresql.org/docs/11/continuous-archiving.html | --------------1A7970D493190D08F41BA841 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit


On 22/1/19 10:18 μ.μ., Jeremy Finzel wrote:
On Tue, Jan 22, 2019 at 2:16 PM Jeremy Finzel <finzelj@gmail.com> wrote:

any one of those WAL files will not be archived and recycled as long as it no longer needed by a replication slot


:(.  s/no longer/still.  I meant to say any one of those WAL files will not be archived and recycled as long as it still needed by a replication slot.


A WAL segment will be archived as soon as it is completed. https://www.postgresql.org/docs/11/continuous-archiving.html

--------------1A7970D493190D08F41BA841--