Re: log_min_messages per backend type

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Euler Taveira <euler(at)eulerto(dot)com>
Cc: japin <japinli(at)hotmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Subject: Re: log_min_messages per backend type
Date: 2026-01-21 14:51:40
Message-ID: 202601211450.rie5wfgod6eg@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Pyhalov 2026-01-21 14:53:41 Remove no-op pull_var_clause flag
Previous Message Hayato Kuroda (Fujitsu) 2026-01-21 14:46:26 RE: Newly created replication slot may be invalidated by checkpoint