Re: log_min_messages shows debug instead of debug2 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: log_min_messages shows debug instead of debug2
Date
Msg-id 12519.1526484503@sss.pgh.pa.us
Whole thread Raw
In response to Re: log_min_messages shows debug instead of debug2  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: log_min_messages shows debug instead of debug2  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, May 15, 2018 at 4:46 AM, Ideriha, Takeshi
> <ideriha.takeshi@jp.fujitsu.com> wrote:
>> I noticed that if log_min_messages is set to ‘debug2’, it shows ‘debug’
>> instead of debug2.

> Seems worth changing to me.  Anyone else think differently?

I think the current behavior was intentional at some point, probably
with the idea that if you put in "debug" it should come out as "debug".
This patch just moves the discrepancy.  Still, it's more precise to
print debug2, so I'm okay with changing.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Oddity in COPY FROM handling of check constraints on partition tables
Next
From: Heikki Linnakangas
Date:
Subject: Re: Considering signal handling in plpython again