Re: Add support for logging the current role - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Add support for logging the current role
Date
Msg-id AANLkTinVGd9cwLzkCArkHXNYDNSYgWDjwqrbQb1bV-78@mail.gmail.com
Whole thread Raw
In response to Re: Add support for logging the current role  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Add support for logging the current role  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
On Wed, Jan 12, 2011 at 12:59 PM, Stephen Frost <sfrost@snowman.net> wrote:
> * Robert Haas (robertmhaas@gmail.com) wrote:
>> Logging the OID seems to be of questionable value.
>
> I certainly disagree about this, not being able to figure out what's
> causing a 'permissions denied' error because you don't know which role
> the log is coming from is *very* annoying.

Interesting.  I wonder if we shouldn't try to fix this by including
the relevant role name in the error message.  Or is that just going to
be too messy to live?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: WIP: Range Types
Next
From: Joel Jacobson
Date:
Subject: Re: pg_depend explained