Re: Why is lc_messages restricted?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Why is lc_messages restricted?
Date: 2003-02-10 19:00:26
Message-ID: Pine.LNX.4.44.0302101537010.6138-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)gmx(dot)net

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-02-10 19:07:37 Re: pg_dump is broken by recent privileges changes
Previous Message Peter Eisentraut 2003-02-10 18:57:17 Re: Status report: regex replacement