Re: Only owners can ANALYZE tables...seems overly restrictive
От
Vitaly Burovoy
Тема
Re: Only owners can ANALYZE tables...seems overly restrictive
Дата
Msg-id
CAKOSWNkmc=EYnhCKjztGvx67gEm_UpCO==VCYfqLo-ju3_fN0w@mail.gmail.com
Ответ на
Re: Only owners can ANALYZE tables...seems overly
restrictive (John R Pierce)
Список
Дерево обсуждения
Only owners can ANALYZE tables...seems overly restrictive "David G. Johnston" <david.g.johnston@gmail.com>
Re: Only owners can ANALYZE tables...seems overly
restrictive Stephen Frost <sfrost@snowman.net>
Re: Only owners can ANALYZE tables...seems overly
restrictive "Joshua D. Drake" <jd@commandprompt.com>
Re: Only owners can ANALYZE tables...seems overly
restrictive Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Only owners can ANALYZE tables...seems overly
restrictive "Joshua D. Drake" <jd@commandprompt.com>
Re: Only owners can ANALYZE tables...seems overly restrictive Guillaume Lelarge <guillaume@lelarge.info>
Re: Only owners can ANALYZE tables...seems overly
restrictive Vik Fearing <vik@2ndquadrant.fr>
Re: Only owners can ANALYZE tables...seems overly
restrictive Bosco Rama <postgres@boscorama.com>
Re: Only owners can ANALYZE tables...seems overly restrictive Guillaume Lelarge <guillaume@lelarge.info>
Re: Only owners can ANALYZE tables...seems overly restrictive "David G. Johnston" <david.g.johnston@gmail.com>
Re: Only owners can ANALYZE tables...seems overly
restrictive Stephen Frost <sfrost@snowman.net>
Re: Only owners can ANALYZE tables...seems overly restrictive "David G. Johnston" <david.g.johnston@gmail.com>
Re: Only owners can ANALYZE tables...seems overly
restrictive Adrian Klaver <adrian.klaver@aklaver.com>
Re: Only owners can ANALYZE tables...seems overly restrictive "David G. Johnston" <david.g.johnston@gmail.com>
Re: Only owners can ANALYZE tables...seems overly restrictive Tom Lane <tgl@sss.pgh.pa.us>
Re: Only owners can ANALYZE tables...seems overly
restrictive John R Pierce <pierce@hogranch.com>
Re: Only owners can ANALYZE tables...seems overly
restrictive Albe Laurenz <laurenz.albe@wien.gv.at>
Re: Only owners can ANALYZE tables...seems overly restrictive "David G. Johnston" <david.g.johnston@gmail.com>
Re: Only owners can ANALYZE tables...seems overly
restrictive Albe Laurenz <laurenz.albe@wien.gv.at>
Re: Only owners can ANALYZE tables...seems overly restrictive "David G. Johnston" <david.g.johnston@gmail.com>
Re: Only owners can ANALYZE tables...seems overly
restrictive Albe Laurenz <laurenz.albe@wien.gv.at>
Re: Only owners can ANALYZE tables...seems overly restrictive "David G. Johnston" <david.g.johnston@gmail.com>
Re: Only owners can ANALYZE tables...seems overly restrictive Tom Lane <tgl@sss.pgh.pa.us>
Re: Only owners can ANALYZE tables...seems overly restrictive "David G. Johnston" <david.g.johnston@gmail.com>
Re: Only owners can ANALYZE tables...seems overly restrictive "David G. Johnston" <david.g.johnston@gmail.com>
Re: Only owners can ANALYZE tables...seems overly
restrictive "Joshua D. Drake" <jd@commandprompt.com>
Re: Only owners can ANALYZE tables...seems overly restrictive "David G. Johnston" <david.g.johnston@gmail.com>
Re: Only owners can ANALYZE tables...seems overly restrictive "David G. Johnston" <david.g.johnston@gmail.com>
Re: Only owners can ANALYZE tables...seems overly
restrictive Stephen Frost <sfrost@snowman.net>
Re: Only owners can ANALYZE tables...seems overly restrictive "David G. Johnston" <david.g.johnston@gmail.com>
Re: Only owners can ANALYZE tables...seems overly
restrictive Stephen Frost <sfrost@snowman.net>
Re: Only owners can ANALYZE tables...seems overly restrictive Vitaly Burovoy <vitaly.burovoy@gmail.com>
Re: Only owners can ANALYZE tables...seems overly restrictive "David G. Johnston" <david.g.johnston@gmail.com>
On 2/28/16, John R Pierce wrote: > I don't see why anyone with delete privileges shouldn't be able to > truncate (after all, thats the same as deleting all records). Firstly, because you can prevent deleting some rows by a trigger; TRUNCATE doesn't deal with rows. Secondary, TRUNCATE is _NOT_ MVCC. Even in a not yet finished transaction other connections can see empty table. Thirdly, TRUNCATE is often used for clearing most of (or even all) DB tables for tests. Splitting privileges is one of possible protection for running tests on a prod server (if config files are copied wrongly). > > -- > john r pierce, recycling bits in santa cruz -- Best regards, Vitaly Burovoy
В списке pgsql-general по дате отправления
От: John R Pierce
Дата:
От: Albe Laurenz
Дата: