Re: Bug #928: server_min_messages (log_min_messages in CVS)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: syatskevich(at)n21lab(dot)gosniias(dot)msk(dot)ru, pgsql-bugs(at)postgresql(dot)org
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bug #928: server_min_messages (log_min_messages in CVS)
Date: 2003-05-26 19:05:43
Message-ID: 200305261905.h4QJ5hA12245@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers pgsql-patches

pgsql-bugs(at)postgresql(dot)org wrote:
> Sergey N. Yatskevich (syatskevich(at)n21lab(dot)gosniias(dot)msk(dot)ru) reports a bug with a severity of 4
> The lower the number the more severe it is.
>
> Short Description
> server_min_messages (log_min_messages in CVS) have PGC_USERSET GucContext
>
> Long Description
> In src/backend/utils/misc/guc.c "server_min_messages"
> ("log_min_messages" in CVS)configuration option have PGC_USERSET
> GucContext. I think that it is not good idea that user can
> change server log details level. I suggest change GucContext in
> this case on PGC_SIGHUP.

The reason it is PGC_USERSET is because we imagined people might want to
increase the amount of information sent to the server logs, and we don't
have an _increase_only_ restriction capability. However, maybe it
should be PGC_SUSET.

Comments?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2003-05-26 20:16:54 Re: Bug #928: server_min_messages (log_min_messages in CVS)
Previous Message Bruce Momjian 2003-05-26 18:57:26 Re: Bug #926: if old postgresql.jar in CLASSPATH, ant fails

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-05-26 20:16:54 Re: Bug #928: server_min_messages (log_min_messages in CVS)
Previous Message Tom Lane 2003-05-26 18:59:57 Re: v7.3.3 bundled ... please test ...

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-05-26 20:16:54 Re: Bug #928: server_min_messages (log_min_messages in CVS)
Previous Message Bruce Momjian 2003-05-26 18:55:59 Re: Removing a user's password