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 1vT2Nx-00BlRp-3D for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Dec 2025 18:24:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vT2Nw-0064RT-1s for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Dec 2025 18:24:28 +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 1vT2Nw-0064Ql-0A for pgsql-hackers@lists.postgresql.org; Tue, 09 Dec 2025 18:24:28 +0000 Received: from fout-a3-smtp.messagingengine.com ([103.168.172.146]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vT2Ns-003yVH-0R for pgsql-hackers@lists.postgresql.org; Tue, 09 Dec 2025 18:24:27 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id D1DDAEC049C; Tue, 9 Dec 2025 13:24:22 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Tue, 09 Dec 2025 13:24:22 -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=fm1; t=1765304662; x=1765391062; bh=3 oauoPLFvWxMuaXp4MvjlOJzEn9EW2K5XQ9ElN+VFlU=; b=SSCh/Z5ZY7Wlh1dm4 mw6SLTF98QnczoqOHNfagsJ8HOorDGngIn3FDQY56TtGnCVG6PgNpLN53VDne9uJ tOBHeR8IhjI57G3gqcc0ReqTIOHr9df+pgdNn7YboY0pVUTEdXkZXCEiA9lkPOyW MXKcG0sED90a72GpR8MeRYEBSC0sH++2wcI4t9eCEX2wYFFmQ/pwsYRI/482vRBE ft7qUoRT3OJT39kXnaSfqUee7Zq77taHBspgaWdY9AzmDG1dI4q8JAPZRZbA8NPL cj0bqj1ZKKZdh81vb21JJLJlPLbxSyraeIe8DwC3HzWIEFaxrqV6uZLum4vq6xWg bEHLA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvtddvjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghrohcu jfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqeenuc ggtffrrghtthgvrhhnpedvkedtffduffdtffffheffhfejjefhgfeiueeukeejkeffgfdu fffhudffffeuveenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghr rhgvsegrlhhvhhdrnhhoqdhiphdrohhrghdpnhgspghrtghpthhtohephedpmhhouggvpe hsmhhtphhouhhtpdhrtghpthhtoheprghnughrvghssegrnhgrrhgriigvlhdruggvpdhr tghpthhtohepvghulhgvrhesvghulhgvrhhtohdrtghomhdprhgtphhtthhopehlihdrvg hvrghnrdgthhgrohesghhmrghilhdrtghomhdprhgtphhtthhopehjrghpihhnlhhisehh ohhtmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhish htshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 9 Dec 2025 13:24:22 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1765304658; bh=/+k/A6v7vgl+rucJ3ZH4TToaD4fNbwh8eiM2PbduF8U=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=pqYUviK4HNYkaZuHIBNXTJUEHU6Q0wamAu28WRP7Gu6mimAnQVlfV8kciY/Ca5Q8c A6H+18nSA6WMHnDJ0sZiGBTkzEehor0l5D5zxJay3CjT2yGQUR5lkKRTuJqDbk9d4/ PmTOI/1QlDd05ShwfYa0YfYVznVHR6qwibheIMmYljjcDgkKk4s1ESCtElUYKYnFI+ ycWitx+K2+Tc1s3Q38lYlidN4hsPVwH1nBQe/pWqhhLeAKjtXp5V0YHNf+RkdjJMBd QfHhgfrg8hgMXxS+2LiYmcDNI/vkqeWV/5Wfw9AQtd/N5HzeitsV/e7z9uiSoxQR8s aeURlWTyAxskA== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id C35F97B; Tue, 09 Dec 2025 19:24:18 +0100 (CET) Date: Tue, 9 Dec 2025 19:24:18 +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: <202512091806.bsugq2l4wz7f@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202512090853.hk6e6t56bq5z@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-Dec-09, Alvaro Herrera wrote: > So here's your v6 again with those fixes as 0003 -- let's see what CI > thinks of this. I haven't looked at your doc changes yet. This passed CI, so I have marked it as Ready for Committer. Further comments are still welcome, of course, but if there are none, I intend to get it committed in a few days. I'm not really happy with our usage of the translatable description field for things such as %b in log_line_prefix or the ps display; I think we should use the shorter names there instead. Otherwise, you end up with log lines that look something like this (visible in a server with %b in log_line_prefix, which the TAP tests as well as pg_regress have): 2025-12-08 21:38:04.304 CET autovacuum launcher[2452437] DEBUG: autovacuum launcher started where the bit before the PID is marked for translation. I think it should rather be 2025-12-08 21:38:04.304 CET autovacuum[2452437] DEBUG: autovacuum launcher started where that name (the same we'll use in log_min_messages) is not translated. However, this issue is rather independent of the patch in this thread, so I'm going to discuss it in another thread; the name string though is added by this patch. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "Java is clearly an example of money oriented programming" (A. Stepanov)