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

From Alex Hunsaker
Subject Re: [PATCH] remove redundant ownership checks
Date
Msg-id 34d269d41001131246u1cdea054kd2fa81c6e2774456@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] remove redundant ownership checks  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCH] remove redundant ownership checks
Re: [PATCH] remove redundant ownership checks
Re: [PATCH] remove redundant ownership checks
List pgsql-hackers
On Wed, Jan 13, 2010 at 12:54, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I'm a little worried by Stephen's plan, mainly because I'm concerned
> that it would lead to ALTER TABLE taking exclusive lock on a table long
> before it gets around to checking permissions.  Still, that's just
> extending a window that exists now.

Im of the opinion if we are going to be meddling with the permission
checks in this area one of the goals should be close or at least
tighten up that window.  So you cant lock a table you dont have
permission to (either via LOCK or ALTER TABLE).  (Ignoring the issues
of concurrent permission changes of course...)


pgsql-hackers by date:

Previous
From: Chris Browne
Date:
Subject: Re: RFC: PostgreSQL Add-On Network
Next
From: Alex Hunsaker
Date:
Subject: Re: [PATCH] remove redundant ownership checks