Re: [BUGS] Bug #928: server_min_messages (log_min_messages in CVS)

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 in CVS)
Date: 2003-05-27 02:31:36
Message-ID: 200305270231.h4R2VaA10426@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers pgsql-patches

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > 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.
>
> Yeah, probably so. Particularly with the 7.4 error message additions,
> it'd be possible to make the logs very verbose indeed, which might be
> seen as a form of attack (or at least a good way to hide your traces).

I reviewed all the user-settable GUC variables and generated the
following patch --- there were quite a few other setting that should be
super-user only.

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2003-05-27 02:50:27 Re: [BUGS] Bug #928: server_min_messages (log_min_messages in CVS)
Previous Message Tom Lane 2003-05-27 01:39:20 Re: pg_class_aclcheck: relation [oid] not found...

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2003-05-27 02:47:15 Re: array functions - request for opinions (was Re: [PATCHES]
Previous Message Bruce Momjian 2003-05-27 01:45:18 Re: Removing a user's password

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-05-27 02:50:27 Re: [BUGS] Bug #928: server_min_messages (log_min_messages in CVS)
Previous Message Alvaro Herrera 2003-05-27 02:30:27 Re: New translation