Re: OWNER TO on all objects

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: OWNER TO on all objects
Дата
Msg-id 40CFEC18.6000705@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: OWNER TO on all objects  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Ответы Re: OWNER TO on all objects  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
There is one other consideration, and that is that current pg_dump likes 
to set session_auth to user of object before outputting drop command, 
when '-c' is specificed.

I propose that we eliminate that set session_auth as well.  If the user 
running the script is the owner of that object or a superuser, then they 
will be able to drop it.  If they are neither, then the drop will fail, 
but the session_authorization would have failed anyway!

Chris



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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: OWNER TO on all objects
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: #postgresql report