Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t4kwm-0025aj-Us for pgsql-general@arkaria.postgresql.org; Sat, 26 Oct 2024 17:51:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t4kwj-00AaZB-GR for pgsql-general@arkaria.postgresql.org; Sat, 26 Oct 2024 17:51:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t4kwi-00AaYu-4m for pgsql-general@lists.postgresql.org; Sat, 26 Oct 2024 17:51:29 +0000 Received: from fhigh-a4-smtp.messagingengine.com ([103.168.172.155]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t4kwf-002zRf-Fh for pgsql-general@postgresql.org; Sat, 26 Oct 2024 17:51:27 +0000 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id BA70A11400FB; Sat, 26 Oct 2024 13:51:23 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Sat, 26 Oct 2024 13:51:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1729965083; x=1730051483; bh=a0UYnydKAaEdZqK+o/AEMIzChz7Tm3109py2Snb1hUU=; b= qRDZ/s3vz/5gym0r0jBmniVfaap+lqEonTAosgzg8pl5xT7ieMDEjTTwMYF/dYos 3QIpd8tYnKL8A7ecfBZDtZ7Ql18rNPcZAjd4PQA27hgvppMjDnJFnF5ztN+hu9ZV fpTPIFLI3qngOJD9qT9I4JljaTQLZfSQH0SJwVn/dmZ+9O6VtsSQ+k8tHTfv1Vdm PX+ySx1syu2wQw7VCgMKouIEFS4GSufRJUV8zLG6ZiEn8J5VA16EHz0dLwA3Ylmu Zv7vri51AnDbzXwpX8/zVQubp3f5luIdsiPj558pAs+yLDYiw2uNzunvmmSTdmKV 2v7iuKY5tv+BFLPcSIiOdw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1729965083; x= 1730051483; bh=a0UYnydKAaEdZqK+o/AEMIzChz7Tm3109py2Snb1hUU=; b=I wheRo4PryZXoc277OSRkp1hPhyqBPPR+pEw51QuVsiXX51hUy9e1KDkPNOFXA+Pf XGBDGTKwti9IwXLbSDB7k/iZucyZItesbj/CG6wcHWgqFoAXfLkE4lVwIxiIs784 YjY7a5kDeDnpNDoMZLee+L8TqoiQZyR74RrFbrmkdUwEBAjqv371O5CtABDkpBav R+D/8Wb53ZlWhAw1OJPh2GoPnfBgW0AFTDMytIMOvUQe07sg8f6JxukVpWxEIKQ+ oxXHml7TrxQAIuFRj1rWz9qx7jynNp6+Zgj391NFBwcQSiq5BTIm+6BYtwQgsP2k hyh592VPSTR5e8bDO4k4w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdejgedguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgg gfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeetughrihgrnhcumfhlrghv vghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrf grthhtvghrnhephfeviefhveelffeftdehudekveefhfeftdegieefveetfffgfeehtdff tedutedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhdpnhgspghrtghpthht ohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheprghsrggurghlihhnrghgrh hisehgmhgrihhlrdgtohhmpdhrtghpthhtohepmhgrhhgvshhhphhoshhtghhrvghslees ghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhgvghnvghrrghlsehlihhsth hsrdhpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehpghhsqhhlqdhgvghnvghr rghlsehpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 26 Oct 2024 13:51:22 -0400 (EDT) Message-ID: <56a90390-5a4b-4ffc-a0bc-5a09c46d6876@aklaver.com> Date: Sat, 26 Oct 2024 10:51:21 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Pgsql 16 to 14 using builtin logical To: Asad Ali Cc: Durgamahesh Manne , pgsql-general , PostgreSQL mailing lists References: <1e16e035-e7e5-460a-86f8-9a207fd2ffef@aklaver.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/26/24 10:06, Asad Ali wrote: > > In the typical upgrade scenario, replication flows from the lower > (older) version to the higher (newer) version. Here, the source is the > older version (e.g., PostgreSQL 14), and the target is the newer version > (e.g., PostgreSQL 16). So how does that fit with your statement?: "PostgreSQL's built-in logical replication allows for replicating data between different versions of PostgreSQL, provided the source version is higher than or equal to the target version." > > Replicating from a higher version (PostgreSQL 16) to a lower one > (PostgreSQL 14) is possible but unconventional and not usually done for > upgrades. > > > Best Regards, > Asad Ali > -- Adrian Klaver adrian.klaver@aklaver.com