Re: [PATCH] remove redundant ownership checks - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: [PATCH] remove redundant ownership checks
Date
Msg-id 20091218031449.GG17756@tamriel.snowman.net
Whole thread Raw
In response to Re: [PATCH] remove redundant ownership checks  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [PATCH] remove redundant ownership checks
List pgsql-hackers
* Robert Haas (robertmhaas@gmail.com) wrote:
> Disentangling that seems like a job and a half.

Indeed it will be, but I think it would be a good thing to actually have
a defined point at which permissions checking is to be done.  Trying to
read the code and figure out what permissions you need to perform
certain actions, when some of those checks are done as 'prep work' far
up the tree, isn't fun.  Makes validation of the checks we say we do in
the documentation more difficult too.  Not to mention that if we want to
allow more granular permission granting for certain operations, it gets
even uglier..
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: LATERAL
Next
From: Robert Haas
Date:
Subject: Re: [PATCH] remove redundant ownership checks