Re: restructuring "alter table" privilege checks (was: remove redundant ownership checks)

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Stephen Frost <sfrost@snowman.net>, KaiGai Kohei <kaigai@ak.jp.nec.com>, pgsql-hackers@postgresql.org
Date: 2010-01-22T16:54:42Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
>> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>>>> I don't particularly like this patch, mainly because I disagree with
>>>> randomly removing permissions checks without any sort of plan about
>>>> where they ought to go.

> [ a plan for rearranging ALTER TABLE's checks ]

Works for me.  All I asked for was plan first, code second, and you've
satisfied the precondition.

(I would venture that changing this stuff is probably 9.1 material at
this point, though.)

			regards, tom lane