From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dirschel, Steve <steve.dirschel@thomsonreuters.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: [EXT] Re: log_min_messages = warning
Date: Tue, 06 Sep 2022 16:44:29 -0400
Message-ID: <3355583.1662497069@sss.pgh.pa.us> (raw)
In-Reply-To: <DM6PR03MB433212E04F2DCEE232ADBAFEFA7E9@DM6PR03MB4332.namprd03.prod.outlook.com>
References: <DM6PR03MB433216774DF79FF496ADB14DFA7E9@DM6PR03MB4332.namprd03.prod.outlook.com>
<db960e23-11ec-dca7-c415-27e174e8d036@aklaver.com>
<DM6PR03MB433212E04F2DCEE232ADBAFEFA7E9@DM6PR03MB4332.namprd03.prod.outlook.com>
"Dirschel, Steve" <steve.dirschel@thomsonreuters.com> writes:
>>> We recently upgraded from postgres 12.8 to 14.3. We are running
>>> Aurora Postgres on AWS.
Aurora Postgres != Postgres. This doesn't seem like something they'd
change, but we can't rule that out entirely.
>> Try:
>> select setting, source, sourcefile, pending_restart from pg_settings where name = 'log_min_messages';
> shgroup02s=> select setting, source, sourcefile, pending_restart from pg_settings where name = 'log_min_messages';
> setting | source | sourcefile | pending_restart
> ---------+---------+------------+-----------------
> warning | default | | f
> (1 row)
OK, so log_min_messages has the expected value in your interactive
session, and yet evidently not in the sessions running these RAISE NOTICE
commands. Maybe you have done ALTER USER SET or ALTER DATABASE SET
commands that'd change it in those sessions? You could look in
the pg_db_role_setting catalog to answer that definitively.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, steve.dirschel@thomsonreuters.com, adrian.klaver@aklaver.com
Subject: Re: [EXT] Re: log_min_messages = warning
In-Reply-To: <3355583.1662497069@sss.pgh.pa.us>
References: <DM6PR03MB433216774DF79FF496ADB14DFA7E9@DM6PR03MB4332.namprd03.prod.outlook.com> <db960e23-11ec-dca7-c415-27e174e8d036@aklaver.com> <DM6PR03MB433212E04F2DCEE232ADBAFEFA7E9@DM6PR03MB4332.namprd03.prod.outlook.com> <3355583.1662497069@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox