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 1t4jNL-001xHY-Kp for pgsql-general@arkaria.postgresql.org; Sat, 26 Oct 2024 16:10:51 +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 1t4jNJ-009ySR-53 for pgsql-general@arkaria.postgresql.org; Sat, 26 Oct 2024 16:10:49 +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 1t4jNH-009ySB-Is for pgsql-general@lists.postgresql.org; Sat, 26 Oct 2024 16:10:49 +0000 Received: from fhigh-a3-smtp.messagingengine.com ([103.168.172.154]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t4jNE-002yjc-My for pgsql-general@lists.postgresql.org; Sat, 26 Oct 2024 16:10:46 +0000 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfhigh.phl.internal (Postfix) with ESMTP id 39C1E11400CC; Sat, 26 Oct 2024 12:10:43 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Sat, 26 Oct 2024 12:10:43 -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=1729959043; x=1730045443; bh=UsmnsEn0cQ39MhEfQ0A/0b3rRoHhila2DunbTFk2VWo=; b= JvonI1YBDYk4nChaOxjFpjvE2mKdjX8kxRBE6kxpWSWFsMVcGkX79T9puYab6VOq UN40zznogG78LFpN5wojFMl6a+y24r+/7V2uY1ZYZhZH2ZSqxMgspfZhKEhKslac pQ4shO7KyrPujVwalqKlx6mMTPitg4u3/Of8TGhEyIQ+lApCM5O5AJEr0CPl9k/a dsSA5IR8TyIewjMLpcr6Aoop0lJXjM5NHfULL9abHyeequhQB9g0BapOyREg/4e9 g7BdODXPdasUa/XaqbBRbzakrxn9r5sSGTiFwVKTcsIBBq+U0mzSwG/UsVEKKq/4 FYMlSlJalGEnnI9l7+RGMg== 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=1729959043; x= 1730045443; bh=UsmnsEn0cQ39MhEfQ0A/0b3rRoHhila2DunbTFk2VWo=; b=U WSFNs448z4KX9gtd4YmOV8FS6h7b9kGf0w/NGYqqOyGaj/eyQi04E17+rPFzJ056 1MUgfVt+TxeGb4W7BrkdnSHpMkF59hxoP6a/MAcQrsaWx/p6MNgUd982iCOpYo5U z1vhhWAwqOVB+KXOKCjeIBnC2oq67HsSWkdtlVmpFJI2F/Rmy3nqBTzQPGtYi1hG HGHw6Mb50l6n9rIKPcrPJ+7vXSaYAzyA9BS7fY4A1aX0y1P391+OqI7qkEV33aoP OYizwjxCAlrPoyQb5USFxqmzK6C5+e1L2iuJ0Bdm7Ln5fFBpdekGJORzOiyeBApR Sq8EZ0rrgZ1QkflAggXyw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdejgedgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfg fuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomheptegurhhirghnucfmlhgrvhgv rhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrg htthgvrhhnpefhveeihfevlefffedthedukeevfefhfedtgeeifeevteffgfefhedtffet udettdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggprhgtphhtthho peegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegrshgruggrlhhinhgrghhrih esghhmrghilhdrtghomhdprhgtphhtthhopehmrghhvghshhhpohhsthhgrhgvshelsehg mhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqghgvnhgvrhgrlheslhhishhtsh drphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepphhgshhqlhdqghgvnhgvrhgr lhesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 26 Oct 2024 12:10:41 -0400 (EDT) Message-ID: <1e16e035-e7e5-460a-86f8-9a207fd2ffef@aklaver.com> Date: Sat, 26 Oct 2024 09:10:40 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Pgsql 16 to 14 using builtin logical To: Asad Ali , Durgamahesh Manne Cc: pgsql-general , PostgreSQL mailing lists References: 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/25/24 23:02, Asad Ali wrote: > Hi Durgamahesh, > > Yes, you can replicate a PostgreSQL 16 database to PostgreSQL 14 using > built-in logical replication. 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. I am not following or maybe it's just your idea of what is the source and what is the target. In the common case of upgrading a database to a newer version the logical replication would be from the lower source to the higher target. > > Regards, > Asad > > > On Sat, Oct 26, 2024, 8:28 AM Durgamahesh Manne > > wrote: > > Hi > > Can we replicate 16 to 14 using builtin logical similarly pglogical? > > Regards > Durga Mahesh > -- Adrian Klaver adrian.klaver@aklaver.com