Re: restructuring "alter table" privilege checks
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: KaiGai Kohei <kaigai@kaigai.gr.jp>
Cc: Stephen Frost <sfrost@snowman.net>, Tom Lane <tgl@sss.pgh.pa.us>, KaiGai Kohei <kaigai@ak.jp.nec.com>, pgsql-hackers@postgresql.org
Date: 2010-01-24T03:16:26Z
Lists: pgsql-hackers
On Sat, Jan 23, 2010 at 10:11 PM, KaiGai Kohei <kaigai@kaigai.gr.jp> wrote: > If we put the new ATSimplePermissions() with all the needed information > just after gathering them at the execution stage, we don't need to have > some of exceptions which takes additional checks except for ownership > on the relation to be altered. Maybe I'm still not understanding, but I don't see how you're going to do this without a massive pile of spaghetti code and a function with about 12 parameters. Feel free to show some code, but I think this is a non-starter. ...Robert