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 1vpQqg-008Jss-1s for pgsql-hackers@arkaria.postgresql.org; Mon, 09 Feb 2026 12:58:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vpQqf-00AfPT-2L for pgsql-hackers@arkaria.postgresql.org; Mon, 09 Feb 2026 12:58:41 +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 1vpQqf-00AfPK-1F for pgsql-hackers@lists.postgresql.org; Mon, 09 Feb 2026 12:58:41 +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.98.2) (envelope-from ) id 1vpQqd-00000001H8X-00s0 for pgsql-hackers@lists.postgresql.org; Mon, 09 Feb 2026 12:58:40 +0000 Received: from phl-compute-08.internal (phl-compute-08.internal [10.202.2.48]) by mailfhigh.phl.internal (Postfix) with ESMTP id D1BA614000CB; Mon, 9 Feb 2026 07:58:37 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-08.internal (MEProxy); Mon, 09 Feb 2026 07:58:37 -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=fm3; t=1770641917; x=1770728317; bh=L kyGLU8VS1quE42hzasKS9dFiRkhwPEE+s8TGpI/lug=; b=SR/X/6jwJq7qpCP3x uA5/0PHmLjm2QecQSEv+pLyXbiMRihsRxtK058Zdxv4rS/dKGalpmskWIZsKgbzu YdJDTaHFc+jI29uVSGNJsdahk+nw/Ssk3Agn39ayx0heGzEM9rHcd4J/pfs9tMIe xq0AXh6a8lPpE8cxE4B08xiZQJkFk/IEKDexIz8JMufMgqsild/2eCnB0nWJLFeF lzATiveBHTTz+8Vto07ttVhJeNGALEz0LhKWLaY3aFy74hdC31R3XQh6fnQOa+sr Bc8QSXRHrcCvjnv6oA7hpGmROK4jzWCa3s4nMvlucjav9jElyKCI3RVRHTSCD2eJ V65CA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdduleeikeejucetufdoteggodetrf 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; Mon, 9 Feb 2026 07:58:37 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1770641915; bh=LNd0/eIgbnTU3REijwfF3Ju8kP3PWOGk7c8yzwskg0o=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=bQeZzXDwN7gZ+zccilHDcJxyanmxK0vwAUPfSewjdxyLptCPZJXFcpRfCK8k+6wK7 5Vlw2kGun0Sx9NTNEkrlUGfofCJEuY7/JLmPvuL1ruRvZxjnu60n2Qjjh+wRWprZc5 4QZ9DFR/yvljO39s7E+Hk7zr6B+ULWqwhX7A0YHiFQ2exxwlkTps4xF1Bn+amOvRUE U3muSeFztHRE2BAonVpWTFzd/XvWxfVUivjBGsMZMQkJFC79bEZp0THnrojKfytzaG WgiGMHb4wOwREhitW9zsHtbFfGWWu8gDaO03f7iK3TdPPTRyZ2nT8DIcNwSSIcPm8H HY7c8N0w90AjA== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id B5AC07A; Mon, 09 Feb 2026 13:58:35 +0100 (CET) Date: Mon, 9 Feb 2026 13:58:35 +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: <202602091250.genyflm2d5dw@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <88d8e984-ad63-48c1-86af-d50d7776942f@app.fastmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-Feb-06, Euler Taveira wrote: > On Fri, Feb 6, 2026, at 8:05 AM, Alvaro Herrera wrote: > > * I'm not fond of the term "generic", so I changed it to "default", > > which IMO makes more sense from the user point of view. > > I'm fine with "default" instead of "generic". However, you forgot to replace > "generic" in a few places. The attached patch fixes them all. I just pushed this, and somehow I forgot to squash this into the commit. I don't think it matters terribly much though, so I'm going to hang onto this for a while in case some bug is found. I made some more changes though. Notably, I reworded some things in the docs that appeared ungrammatical and added a simple example; added the list of process types to postgresql.conf.sample; and moved the GUC check/assign hooks to elog.c together with the other elog-affecting GUCs, as I didn't think they made much sense in variable.c. Another thing, which is actually quite significant, is that I fixed a bug I had introduced on Friday without realizing: I had added a "break" in the loop that searches for process types. But we mustn't break there! Otherwise we fail to set the level for process types that share the same process "category" with others, such as "backend" and "autovacuum". So I removed the break and added a comment about it. It's sad that no tests broke when I introduced that bug, but I think it would be difficult to cover this. Thanks -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "That sort of implies that there are Emacs keystrokes which aren't obscure. I've been using it daily for 2 years now and have yet to discover any key sequence which makes any sense." (Paul Thomas)