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 1wA6cE-0024FD-0S for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Apr 2026 13:37:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wA6cC-000AIw-1T for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Apr 2026 13:37:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wA6cC-000AIo-0b for pgsql-hackers@lists.postgresql.org; Tue, 07 Apr 2026 13:37:12 +0000 Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wA6cA-000000016ts-12Oz for pgsql-hackers@lists.postgresql.org; Tue, 07 Apr 2026 13:37:12 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id 49C3B7A0161; Tue, 7 Apr 2026 09:37:09 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Tue, 07 Apr 2026 09:37:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; 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=1775569029; x=1775655429; bh=ZS04n09K/q9qQGXP34Q7VCEex2ajHfmV OcIQkK7xA5Q=; b=fLPSohlqnUgTwwzdcHCyJdvF6aibLeArWrbD0EXcD/7NGHjf NdB+Y7ral4TDA6GLN6NFGCB0LFyWPmHUusbwDwnFBuOwWtUQNykaMduzPgMUbGDT XiUwfM/+O6eNMXsWovaphzuxi+fqjrE+BGAWcWpxqQC17VKVpcUKt4Gy8GUUPyCm SK5QXXV32X8AH0D3b94s4au0CI0gJaD5GID5fBSjUy602xqOq+S7/oLhZhtcIvkf 015X+6iaqwUVtwVe6OysuV3mAqfR1JV6Rwy6mU27qKnkEY99IjWR05PKc8kkHrly Yc64MN2M9jp7U66hm30sICwJdnQsdruAn6oIXw== 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=1775569029; x= 1775655429; bh=ZS04n09K/q9qQGXP34Q7VCEex2ajHfmVOcIQkK7xA5Q=; b=d HBbgubemYgAYYckI7BMN3H5+V+S92HGCsSKdNUhiF/ZL6s/kyvTVxatmrs1VxQvK BJcRqwEf8o+FP65ycH6fL8xu8RC2IXBYCUZ7bme2S5b8oLGMygiRIfDjtafq7MVY UbOepUOinrB2Km353dcx7gmSeZCwC3mPm4Rmw55TCbsKSS4ckqKebgpW8shhIqQ1 hBVaE+l2ryofqh5QKfgKnpzwdHTsZLLouM+CjzQw3K7bVR/mbk59gIYebLEbU7hu 32OBA3Wrcjs+hd8zVqK8/FEaUFJhjCzxLqiYGOG8nJitXOD8jAd9btfYKY98yg+D qcrpRWt3FVP97ThnvEo6g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddvtdejkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomheprfgvthgvrhcu gfhishgvnhhtrhgruhhtuceophgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgqeenuc ggtffrrghtthgvrhhnpefgjedthfekfedtuefgieelheetleejgefhueeltdfhueetvdff udekfeejhfegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehpvghtvghrsegvihhsvghnthhrrghuthdrohhrghdpnhgspghrtghpthhtohep ledpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepkhhurhhouggrrdhhrgihrghtoh esfhhujhhithhsuhdrtghomhdprhgtphhtthhopegrmhhithdrkhgrphhilhgrudeisehg mhgrihhlrdgtohhmpdhrtghpthhtohepghihrghnrdhsrhgvvghjihhthhesghhmrghilh drtghomhdprhgtphhtthhopehsmhhithhhphgsvddvhedtsehgmhgrihhlrdgtohhmpdhr tghpthhtohepshhhvhgvthgrrdhmrghlihhksehgmhgrihhlrdgtohhmpdhrtghpthhtoh epshhhlhhokhdrkhihrghlrdhoshhssehgmhgrihhlrdgtohhmpdhrtghpthhtohepvhhi ghhnvghshhdvudesghhmrghilhdrtghomhdprhgtphhtthhopegvuhhlvghrsegvuhhlvg hrthhordgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdr phhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 7 Apr 2026 09:37:07 -0400 (EDT) Message-ID: <618f670b-b097-4bd1-8d88-a6eaad031c06@eisentraut.org> Date: Tue, 7 Apr 2026 15:37:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [Proposal] Adding Log File Capability to pg_createsubscriber To: "Hayato Kuroda (Fujitsu)" , Amit Kapila , Gyan Sreejith Cc: Peter Smith , shveta malik , Shlok Kyal , vignesh C , Euler Taveira , "pgsql-hackers@lists.postgresql.org" References: <4c2eb422-696c-4e34-84e7-6c6cd95781ab@eisentraut.org> Content-Language: en-US From: Peter Eisentraut 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 01.04.26 07:05, Hayato Kuroda (Fujitsu) wrote: > Dear Peter E., > >> Instead of creating a new logging API in pg_createsubscriber locally, >> why not extend logging.c to support a log file. > > I had a concern to extend the common module. Do you have possible idea to use > pg_logging_set_logfile() on others? I cannot, tee command on linux seems enough > for others. pg_upgrade was mentioned.