Re: wrong message on REASSIGN OWNED

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: wrong message on REASSIGN OWNED
Дата
Msg-id BANLkTinDVsk=TGxUzYL7qcs0_HRnmQ6i+Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: wrong message on REASSIGN OWNED  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Jun 13, 2011 at 8:55 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> On Mon, Jun 13, 2011 at 2:41 AM, Jaime Casanova <jaime@2ndquadrant.com> wrote:
>>> 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.
>
>> +1 for tightening that up in 9.2.
>
> Nonsense.  You won't like the results of "DELETE FROM pg_proc;" either,
> but we don't try to put training wheels on superusers.
>

really? i thought we do when system catalogs are involved based on this example:
"""
db=# alter table pg_largeobject set tablespace tblspc_prueba;
ERROR:  permission denied: "pg_largeobject" is a system catalog
"""

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: FOREIGN TABLE doc fix
Следующее
От: Dave Page
Дата:
Сообщение: Re: FOREIGN TABLE doc fix