agora inbox for pgsql-hackers@postgresql.org  
help / color / mirror / Atom feed
From: Chao Li <li.evan.chao@gmail.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Euler Taveira <euler@eulerto.com>
Cc: japin <japinli@hotmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: log_min_messages per backend type
Date: Mon, 9 Feb 2026 21:01:37 +0800
Message-ID: <623F2E6B-AC09-4DF9-B5F4-139DF19A5667@gmail.com> (raw)
In-Reply-To: <202602091248.6svurucevci2@alvherre.pgsql>
References: <202602091248.6svurucevci2@alvherre.pgsql>



> On Feb 9, 2026, at 20:50, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> 
> On 2026-Feb-09, Chao Li wrote:
> 
>> There’s also a related regression in the interactive case. Before this
>> patch, when debugging via psql, a superuser could easily do:
>> 
>> ```
>> # set log_min_messages = debug5
>> ```
>> 
>> to temporarily increase verbosity for the current backend. With the
>> new syntax, doing the equivalent now requires copying the entire
>> log_min_messages string and modifying just one part, which feels
>> noticeably heavier for quick debugging.
> 
> Nonsense.  You can still do the above, and it has the same behavior as
> before.
> 

Ah, yes, for the SET scenario, it sets the log level for all types, so the backend type gets the value, which ends up with the same behavior as before.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/









view thread (58+ messages)  latest in thread

Message-ID: <623F2E6B-AC09-4DF9-B5F4-139DF19A5667@gmail.com>
Permalink:  ../623F2E6B-AC09-4DF9-B5F4-139DF19A5667@gmail.com/
Also on:    postgresql.org/message-id/623F2E6B-AC09-4DF9-B5F4-139DF19A5667@gmail.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: li.evan.chao@gmail.com, alvherre@alvh.no-ip.org, euler@eulerto.com, japinli@hotmail.com, andres@anarazel.de, pgsql-hackers@lists.postgresql.org
  Subject: Re: log_min_messages per backend type
  In-Reply-To: <623F2E6B-AC09-4DF9-B5F4-139DF19A5667@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox