Bug in RENAME TO?

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Bug in RENAME TO?
Дата
Msg-id 40CAE016.8070307@familyhealth.com.au
обсуждение исходный текст
Ответы Re: Bug in RENAME TO?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I notice you can use most of the RENAME TO commands in postgres to 
rename system objects.  Renaming a system table is disallowed:

test=# alter table pg_namespace rename to blah;
ERROR:  permission denied: "pg_namespace" is a system catalog

But mucking with any other system object is not:

test=# alter function abbrev(inet) rename to bad;
ALTER FUNCTION

Is there logic in that?

Also, what about when I implement ALTER OWNER for everything?  Should 
that be banned on system objects?

Chris



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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: [COMMITTERS] pgsql-server: Clean up generation of default
Следующее
От: pgsql@mohawksoft.com
Дата:
Сообщение: Re: I just got it: PostgreSQL Application Server -- a