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 1viZYm-00A7VS-0H for pgsql-hackers@arkaria.postgresql.org; Wed, 21 Jan 2026 14:51:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1viZYk-007aPC-00 for pgsql-hackers@arkaria.postgresql.org; Wed, 21 Jan 2026 14:51:50 +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 1viZYj-007aP4-28 for pgsql-hackers@lists.postgresql.org; Wed, 21 Jan 2026 14:51:50 +0000 Received: from fout-a8-smtp.messagingengine.com ([103.168.172.151]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1viZYh-001bmp-1U for pgsql-hackers@lists.postgresql.org; Wed, 21 Jan 2026 14:51:49 +0000 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfout.phl.internal (Postfix) with ESMTP id D4A4BEC021D; Wed, 21 Jan 2026 09:51:46 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Wed, 21 Jan 2026 09:51:46 -0500 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 :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1769007106; x=1769093506; bh=u YzBIQhMiYJ6MjDB0FuWV8TOEVuT/tNk+UdTgKM6JR8=; b=oj+xWYMmXjPYUKTF0 0y9HA5L2K502Sxo8o+aSd+bWPrF8WrZXlmku0jrIJhpPnhUMJ0VhHi3aMb2rLj9x p3ldjuXPyJAlkuVv0slI+6iG4wY1Yn9JR9H4qatwKBGZsguFkITJEw4gc4R6jl4g KuwPWShyYtX3f6xIGhHOwuyzjg6TYMvR01OM5aL4UpKrWtyZWSiUtKo3jJrY+Mkf jBxHdA5uO+Y/iZ2WCH85ZbqTPpceHI2Fmd9IsVQvsfM+Io1MzmEh1mLHjW79fvvy G6/hLkhJrBUdg3DeBzp2hLwFdez5Shwf13nnO/R1htsVFHPALXjtDksa+6B5AX9Z qLVzg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddugeefheeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgheqne cuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffhjeejhffgieeuueekjeekfffg udffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomhenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgv rhhrvgesrghlvhhhrdhnohdqihhprdhorhhgpdhnsggprhgtphhtthhopeehpdhmohguvg epshhmthhpohhuthdprhgtphhtthhopegrnhgurhgvshesrghnrghrrgiivghlrdguvgdp rhgtphhtthhopegvuhhlvghrsegvuhhlvghrthhordgtohhmpdhrtghpthhtoheplhhird gvvhgrnhdrtghhrghosehgmhgrihhlrdgtohhmpdhrtghpthhtohepjhgrphhinhhlihes hhhothhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlih hsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 21 Jan 2026 09:51:45 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1769007100; bh=bVokEwse5I8YeSZHOov/IQjQr//eb2BwGogWvHotOF8=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=phbx2GW3RfHavFZ7yRkDv9VNK61KtZOQkRj727mMPZWEWO239MCWOPqq5dnsWyS+G MGledwjzFRtfNWvOxxF3LU3Fy39xRLBtpvu+cR1K4h/aIcySpbgsnHQNaswWCpIo4x Z86eGvWbUEWGXIx6HdNFDNlr8poMDeS+U9bkaF7qJAyAI7zYFmQPTO7C3IH7N9cxtN 3KI/sceSPEqPhlwedGAKtpF/maGUoX/gfChC6Fa9Dho6nqOdnwB0sZ4LQYQc3gmJaF bIikyircqEHZgyPrvTfX4sMuQ9Dx7LHXK0n2G8dHhGNGp14/h0OpsG/eqwBpeVlIjh 4Y6JlHwgjjxHQ== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 9C8767A; Wed, 21 Jan 2026 15:51:40 +0100 (CET) Date: Wed, 21 Jan 2026 15:51:40 +0100 From: Alvaro Herrera To: Euler Taveira Cc: japin , Andres Freund , pgsql-hackers@lists.postgresql.org, Chao Li Subject: Re: log_min_messages per backend type Message-ID: <202601211450.rie5wfgod6eg@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-Jan-15, Euler Taveira wrote: > @@ -586,6 +588,8 @@ SubPostmasterMain(int argc, char *argv[]) > IsPostmasterEnvironment = true; > whereToSendOutput = DestNone; > > + MyBackendType = B_BACKEND; > + > /* > * Capture the end of process creation for logging. We don't include the > * time spent copying data from shared memory and setting up the backend. BTW I think SubPostmasterMain() shouldn't do this. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "Curiosity is the hope that something wondrous waits just out of sight, for we are surrounded by a garden of miracles" (Namron) (Marjorie Liu and Sana Takeda, Monstress: Inferno)