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 1vpQZY-008DFC-30 for pgsql-hackers@arkaria.postgresql.org; Mon, 09 Feb 2026 12:41:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vpQZY-00AZKn-09 for pgsql-hackers@arkaria.postgresql.org; Mon, 09 Feb 2026 12:40:59 +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 1vpQZX-00AZKe-2A for pgsql-hackers@lists.postgresql.org; Mon, 09 Feb 2026 12:40:59 +0000 Received: from fout-a7-smtp.messagingengine.com ([103.168.172.150]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vpQZU-00000001odY-3TnG for pgsql-hackers@lists.postgresql.org; Mon, 09 Feb 2026 12:40:59 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id E590CEC0582; Mon, 9 Feb 2026 07:40:54 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Mon, 09 Feb 2026 07:40:54 -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=1770640854; x=1770727254; bh=6 gI+n1Jv8XiWGx1DHkamlzFNLKplQNWdpJzMunU0M6c=; b=J5pmWRw7hUjaXcbVN KPAlQ1vgtrVovNzYIQaNqZVqBmEBeGnMNh/iy1UbmYqaI+XF7oc1/4ImZ9sYZ9D2 1ZQd1OX7ZDRdt5dOgFoK43ZxPEJqYIhoEE+HdMuJSgVdLj/4QsAGTinl30u1VrQ5 igQZZY9J35NdGy9VrsWsJtAMw0E0yvsShCnp4wGHo3fhPquOXu1CVUT1Zg4MCsqB cHZ66XgIgjwzMOYZciLY1YX2v1sG2pF5nqUIwprh3K2WZvToKqVRseZ2/eF7A0+G kLVZH9j0zRmBrRuSKtTznReS542ALeLMtCLJpoA0WL6/jHmKXdzDGkbPygGMchN3 zPqhQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdduleeikeefucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgheqne cuggftrfgrthhtvghrnhepueeigfffueektdfgteeuuefgtedvueehgfehleefheeljeel feffjedttdekvdejnecuffhomhgrihhnpehpohhsthhgrhdrvghspdgvnhhtvghrphhrih hsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgpdhnsggprhgtph htthhopeehpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegrnhgurhgvshesrghn rghrrgiivghlrdguvgdprhgtphhtthhopegvuhhlvghrsegvuhhlvghrthhordgtohhmpd hrtghpthhtoheplhhirdgvvhgrnhdrtghhrghosehgmhgrihhlrdgtohhmpdhrtghpthht ohepjhgrphhinhhliheshhhothhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqd hhrggtkhgvrhhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 9 Feb 2026 07:40:54 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1770640852; bh=isulqPbfX56fO0sCqweV7Ozo9bCGL+le1L8ue8hYSbI=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=nSYKq5R6Ny5uIhak6QWqEz0x1ydHlPxgWmb2jnmIdafsuteb6AzFlPBKhqRD+B3WP /UpwfcHJN7IBXin0zoIY/y/0FlGzSb9j91N9rzq1V8I9TYzjDF0cvBmGT91eT5TbfM sWDM5AYo5n+JQvvnCkKJdaKW49h763+BjFv8dpX/Sfc+NumCscubfConkMXDuDsD46 0oeybLWihOFn523TJHsZE3SbINYVaILHvy/5rc70i3XRy0/yK0XJ3bLPmX2xY1xjSu RaqdU4t3Py2AIK8TfAQ5BvzKuylf5yLcq/FkiSMn8C8jc6jN6/12rlTy1/UAzVdYA4 Eb6oOXTm9LnMA== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 066AB7A; Mon, 09 Feb 2026 13:40:52 +0100 (CET) Date: Mon, 9 Feb 2026 13:40:51 +0100 From: Alvaro Herrera To: Chao Li Cc: Euler Taveira , japin , Andres Freund , pgsql-hackers@lists.postgresql.org Subject: Re: log_min_messages per backend type Message-ID: <202602091231.ybwsbdbxsbdo@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <827C26CA-D7C2-4AD9-AEC3-E1E76519453E@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-Feb-09, Chao Li wrote: > While it’s reasonable to configure a full comma-separated list in > postgresql.conf, it seems there’s currently no convenient way for a > superuser to change the log level of a single process type. For > example: > > ``` > evantest=# alter system set log_min_messages='backend:debug4'; > ERROR: invalid value for parameter "log_min_messages": "backend:debug4" > DETAIL: Default log level was not defined. > ``` > > This feels a bit inconvenient in practice. Intuitively, it would be > nice if setting a single type:level could be merged into the existing > log_min_messages value, rather than requiring users to restate the > entire configuration. This has been discussed before and no satisfactory solution has been found. You're welcome to spend time thinking on this; see e.g. https://postgr.es/m/20200928033924.GA998042@toroid.org where not only the details were discussed, but also some links to other threads about the same idea were given. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/