Re: SET ROLE and reserved roles

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: SET ROLE and reserved roles
Дата
Msg-id
20160427022031.GA638386@alvherre.pgsql
Ответ на
Список
Дерево обсуждения
SET ROLE and reserved roles Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: SET ROLE and reserved roles Tom Lane <tgl@sss.pgh.pa.us>
Re: SET ROLE and reserved roles Stephen Frost <sfrost@snowman.net>
Re: SET ROLE and reserved roles Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Re: SET ROLE and reserved roles Stephen Frost <sfrost@snowman.net>
Re: SET ROLE and reserved roles Robert Haas <robertmhaas@gmail.com>
Re: SET ROLE and reserved roles Stephen Frost <sfrost@snowman.net>
Re: SET ROLE and reserved roles Tom Lane <tgl@sss.pgh.pa.us>
Re: SET ROLE and reserved roles Stephen Frost <sfrost@snowman.net>
Re: SET ROLE and reserved roles Tom Lane <tgl@sss.pgh.pa.us>
Re: SET ROLE and reserved roles Stephen Frost <sfrost@snowman.net>
Re: SET ROLE and reserved roles Robert Haas <robertmhaas@gmail.com>
Re: SET ROLE and reserved roles Stephen Frost <sfrost@snowman.net>
Re: SET ROLE and reserved roles Robert Haas <robertmhaas@gmail.com>
Re: SET ROLE and reserved roles Stephen Frost <sfrost@snowman.net>
Re: SET ROLE and reserved roles Stephen Frost <sfrost@snowman.net>
Re: SET ROLE and reserved roles Robert Haas <robertmhaas@gmail.com>
Re: SET ROLE and reserved roles Alvaro Herrera <alvherre@2ndquadrant.com>
Re: SET ROLE and reserved roles Robert Haas <robertmhaas@gmail.com>
Re: SET ROLE and reserved roles Stephen Frost <sfrost@snowman.net>
Re: SET ROLE and reserved roles Stephen Frost <sfrost@snowman.net>
Re: SET ROLE and reserved roles Robert Haas <robertmhaas@gmail.com>
Re: SET ROLE and reserved roles Stephen Frost <sfrost@snowman.net>
Re: SET ROLE and reserved roles Stephen Frost <sfrost@snowman.net>
Re: SET ROLE and reserved roles Robert Haas <robertmhaas@gmail.com>
Re: SET ROLE and reserved roles "David G. Johnston" <david.g.johnston@gmail.com>
Re: SET ROLE and reserved roles "David G. Johnston" <david.g.johnston@gmail.com>
Re: SET ROLE and reserved roles Stephen Frost <sfrost@snowman.net>
Re: SET ROLE and reserved roles Robert Haas <robertmhaas@gmail.com>
Re: SET ROLE and reserved roles Robert Haas <robertmhaas@gmail.com>
Re: SET ROLE and reserved roles Michael Paquier <michael.paquier@gmail.com>
Re: SET ROLE and reserved roles Robert Haas <robertmhaas@gmail.com>
Robert Haas wrote:
> On Mon, Apr 25, 2016 at 6:55 PM, Stephen Frost  wrote:

> > Working up a patch to remove these checks should be pretty quickly done
> > (iirc, I've actually got an independent patch around from when I added
> > them, just need to find it and then go through the committed patches to
> > make sure I take care of everything), but would like to make sure that
> > we're now all on the same page and that *all* of these checks should be
> > removed, making default roles just exactly like "regular" roles, except
> > that they're created at initdb time and have "special" rights provided
> > by C-level code checks.
> 
> That's what I'm thinking.  I would welcome other views.

I agree with that view, assuming pg_dump correctly produces GRANTs to
replicate what was done in a database regarding those roles (and same
with pg_dumpall -g).  I think it already works that way, but I may be
mistaken.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


В списке pgsql-hackers по дате отправления
От: Noah Misch
Дата:
Сообщение: Re: xlc atomics
От: Robert Haas
Дата:
FAQ