Re: [HACKERS] [Patch Review] TRUNCATE Permission

2008-09-01 Thread Tom Lane
"Ryan Bradetich" <[EMAIL PROTECTED]> writes: >> I do not believe this is a huge issue since truncate is prohibited on the >> system catalogs >> by the truncate_check_rel(). Only when allowSystemTableMods is false. I think it would be a serious mistake for your patch to treat the system catalogs d

Re: [HACKERS] [Patch Review] TRUNCATE Permission

2008-09-01 Thread Ryan Bradetich
Hello all, On Sun, Aug 31, 2008 at 11:55 PM, Ryan Bradetich <[EMAIL PROTECTED]>wrote: > > I do not believe this is a huge issue since truncate is prohibited on the > system catalogs > by the truncate_check_rel(). > > template1=# truncate pg_authid; > ERROR: permission denied: "pg_authid" is a sy