Re: wrong message on REASSIGN OWNED
От
Jaime Casanova
Тема
Re: wrong message on REASSIGN OWNED
Дата
Msg-id
BANLkTi=mrd6BE9dwPfoQg_pfNBi8j_tijA@mail.gmail.com
Ответ на
Re: wrong message on REASSIGN OWNED (Robert Haas)
Список
Дерево обсуждения
wrong message on REASSIGN OWNED Jaime Casanova <jaime@2ndquadrant.com>
Re: wrong message on REASSIGN OWNED Robert Haas <robertmhaas@gmail.com>
Re: wrong message on REASSIGN OWNED Alvaro Herrera <alvherre@commandprompt.com>
Re: wrong message on REASSIGN OWNED Jaime Casanova <jaime@2ndquadrant.com>
Re: wrong message on REASSIGN OWNED Jaime Casanova <jaime@2ndquadrant.com>
Re: wrong message on REASSIGN OWNED Tom Lane <tgl@sss.pgh.pa.us>
Re: wrong message on REASSIGN OWNED Alvaro Herrera <alvherre@commandprompt.com>
Re: wrong message on REASSIGN OWNED Robert Haas <robertmhaas@gmail.com>
Re: wrong message on REASSIGN OWNED Tom Lane <tgl@sss.pgh.pa.us>
Re: wrong message on REASSIGN OWNED Andrew Dunstan <andrew@dunslane.net>
Re: wrong message on REASSIGN OWNED Robert Haas <robertmhaas@gmail.com>
Re: wrong message on REASSIGN OWNED Jaime Casanova <jaime@2ndquadrant.com>
On Sat, Jun 11, 2011 at 8:01 PM, Robert Haas wrote: > > "can't reassign objects owned by %s because this user is internal to > the database system" ? > that message is not that clear... it seems to imply i can't reassign any object from that user... btw, i'm allowed to use ALTER TABLE to assign a new owner (even an unprivileged one) to a system catalog, probably that's a bug. db=# create role unprivileged_user login; CREATE ROLE db=# alter table pg_class owner to unprivileged_user ; ALTER TABLE db=# \dt pg_class List of relations Schema | Name | Type | Owner ------------+----------+-------+-------------------pg_catalog | pg_class | table | unprivileged_user (1 row) -- Jaime Casanova www.2ndQuadrant.com Professional PostgreSQL: Soporte 24x7 y capacitación
В списке pgsql-hackers по дате отправления