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.96) (envelope-from ) id 1vc9mc-002YS6-0F for pgsql-admin@arkaria.postgresql.org; Sat, 03 Jan 2026 22:07:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vc9lZ-00E1jL-2P for pgsql-admin@arkaria.postgresql.org; Sat, 03 Jan 2026 22:06:34 +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.96) (envelope-from ) id 1vc9lY-00E1jC-27 for pgsql-admin@lists.postgresql.org; Sat, 03 Jan 2026 22:06:34 +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.96) (envelope-from ) id 1vc9lX-0042FI-1v for pgsql-admin@lists.postgresql.org; Sat, 03 Jan 2026 22:06:32 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.phl.internal (Postfix) with ESMTP id 93EE01400059; Sat, 3 Jan 2026 17:06:29 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Sat, 03 Jan 2026 17:06:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= quadratum-braccas.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=fm1; t=1767477989; x=1767564389; bh=CDgUukuiVw mNL58OMz56jBIL6aVrDGzOAxcvX++Ht5s=; b=Xk0kAeJf1lDfmWZtUB1KkOxRjh vuRjQpO8REFyjdkoOhFkgN33U/kV3qJFnSYasIMciYU3LH9IsAiFu0dw1RCqps2B 5FEUs7wW0AoPYlxc1+HSFxnNyiZI5DKDyEwM7+aFdoiP9vmWJsp0hyxV+45q1igq 2YU+Fv/TSMsMNB1swxWLCX+8ISXuXW5Xqu2TUJ6KKSE8TG8IdHt+y0ZgZMg/94Sn qjA0bqTWNbynjK4PDxXfAhw6EVS3LZU0AlGapXqboo74OluarZ8H53mcRr/kXSyB Aslc7XvL2wGzDwQHpaAzq5HELhrCAWKeaEK0n+eGUjFMosCqtEruhuCKwtJw== 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-sender:x-me-sender:x-sasl-enc; s=fm2; t=1767477989; x= 1767564389; bh=CDgUukuiVwmNL58OMz56jBIL6aVrDGzOAxcvX++Ht5s=; b=p k7mReDM5AUcGfpnwza8rwXS5USIL1CCkaYP73kLodvJo5aXh7zf2H4l4Vc2Uf7Ep gN6ZOWhYmP6an118O3F2I6A4wc6cgwCAaH5kZNPVijlUVe+EmZX8Yt01SQjCVtFS SkuC4gXdhTrBUImfqAkacAvb81Km5dXuO90PD3jSl4ebyeadbvcezMO0HJdccg4V Lv8goFXR+P06ylfj2BDkpley7zuhvo2odTwc7sgYN0CoYpS4rb33fgFBtYEtJOEW kGtffffnwqi01YC8OjVP5OnzPCs2nI6upPKmt8zKb+yVdPkbeP59zDYg9zCpoA7X g+5M1uAum5pBuwOEa3D9Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdelvdejtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertd dtvdejnecuhfhrohhmpefusghosgcuoehssghosgesqhhurggurhgrthhumhdqsghrrggt tggrshdrtghomheqnecuggftrfgrthhtvghrnhepveehtdetheejtedufefgveekheelke evhfekvdelkeduleetgfeugfdvgeejgfeinecuffhomhgrihhnpeigiihilhhlrgdrnhgv thenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehssg hosgesqhhurggurhgrthhumhdqsghrrggttggrshdrtghomhdpnhgspghrtghpthhtohep fedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheprhhosgesgiiiihhllhgrrdhnvg htpdhrtghpthhtohepphhgshhqlhdqrggumhhinheslhhishhtshdrphhoshhtghhrvghs qhhlrdhorhhgpdhrtghpthhtohepshgsohgssehquhgrughrrghtuhhmqdgsrhgrtggtrg hsrdgtohhm X-ME-Proxy: Feedback-ID: i374947ac:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 3 Jan 2026 17:06:28 -0500 (EST) Message-ID: Date: Sat, 3 Jan 2026 15:06:27 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: logical replication via log shipping To: Robert Treat Cc: pgsql-admin@lists.postgresql.org References: Content-Language: en-US From: Sbob In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 1/3/26 1:51 PM, Robert Treat wrote: > On Sat, Jan 3, 2026 at 1:36 PM Sbob wrote: >> Is there a way to perform logical replication via log shipping? >> > The short answer is no; as it stands now, the built in stuff for log > shipping via wal_archiving is all designed around the binary file > formats and the features and limitations that come with that. > > That said, one could in theory use something like logical replication > and wal2json to create "logical log files" and then ship those files > to remote systems which then decode and apply them. To the degree that > qualifies as log shipping to you, that is certainly one possible way > to do something similar to what you are asking. > > > Robert Treat > https://xzilla.net Thanks! can you point me to an example of how I would decode the logical log files?