| От | Tom Lane |
|---|---|
| Тема | Re: Possible bug with ALTER LANGUAGE ... OWNER TO ... |
| Дата | |
| Msg-id | 1756.1228772522@sss.pgh.pa.us обсуждение |
| Ответ на | Possible bug with ALTER LANGUAGE ... OWNER TO ... (Erik Jones <ejones@engineyard.com>) |
| Ответы |
Re: Possible bug with ALTER LANGUAGE ... OWNER TO ...
|
| Список | pgsql-general |
Erik Jones <ejones@engineyard.com> writes:
> I've just run up against a problem with ALTER LANGUAGE ... OWNER
> TO ... wherein the change of ownership does not propagate to a
> language's handler and validator functions preventing you from
> dropping the role if it created a language. I'm assuming a valid
> workaround is manually change the owner of the handler and validator
> functions but I'd think that changing a languages owning role should
> propagate to any other objects created when the language was created.
Why? The underlying functions are independent objects, in the general
case.
What you really want for this case is REASSIGN OWNED, I think.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера