Re: [BUGS] Bug #928: server_min_messages (log_min_messages

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: syatskevich(at)n21lab(dot)gosniias(dot)msk(dot)ru, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [BUGS] Bug #928: server_min_messages (log_min_messages
Date: 2003-05-27 17:55:00
Message-ID: 200305271755.h4RHt0o03094@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers pgsql-patches

> A fuller description of what I'm thinking of:
>
> * log_min_messages should indeed be SUSET, and also the other log_xxx
> switches.

Let me address this. By making log SUSET, we prevent non-super users
from turning it off, but we also prevent them from turning it on,
especially using per-user/db methods.

The only solution I can think of would be to have a new permission level
between USERSET and SUSET, where the boolean could be turned on by
non-super users, but not turned off, but then again, that adds the
ability to fill up the server logs.

I am not sure how much that is used, so I am not inclined to add it at
this time, but some day, it might be needed.

Patch to tighten log_* attached and applied.

--
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

Attachment Content-Type Size
unknown_filename text/plain 2.2 KB

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Ruslan A Dautkhanov 2003-05-28 02:29:50 Re: ERROR: Memory exhausted in AllocSetAlloc(68)
Previous Message Bruce Momjian 2003-05-27 17:48:09 Re: [BUGS] Bug #928: server_min_messages (log_min_messages

Browse pgsql-hackers by date

  From Date Subject
Next Message scott.marlowe 2003-05-27 18:07:06 Re: Postgresql on SUN Server
Previous Message Bruce Momjian 2003-05-27 17:48:09 Re: [BUGS] Bug #928: server_min_messages (log_min_messages

Browse pgsql-patches by date

  From Date Subject
Next Message Fernando Nasser 2003-05-27 17:56:29 JDBC: Reinstate autocommit client hack for 7.4
Previous Message Bruce Momjian 2003-05-27 17:48:09 Re: [BUGS] Bug #928: server_min_messages (log_min_messages