Is there a reason why lc_messages is PGC_SUSET, and not PGC_USERSET?
I can't see any security rationale for restricting it.

			regards, tom lane

Thu, 06 Feb 2003 13:45:11 -0500
Tom Lane <tgl@sss.pgh.pa.us>
Why is lc_messages restricted?
Tom Lane writes:

> Is there a reason why lc_messages is PGC_SUSET, and not PGC_USERSET?
> I can't see any security rationale for restricting it.

The language on the frontend is the same as the one used for the server
log, so a user could effectively "encrypt" his part of the server log for
the administrator.  Doesn't seem very nice.

Also, gettext doesn't really allow you to change the language at run time
anyway, so the PGC_SUSET is a good-luck option for testing.

-- 
Peter Eisentraut   peter_e@gmx.net


Mon, 10 Feb 2003 20:00:26 +0100 (CET)
Peter Eisentraut <peter_e@gmx.net>
Re: Why is lc_messages restricted?