Search Postgresql Archives

Re: Possible bug with ALTER LANGUAGE ... OWNER TO ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Erik Jones <ejones@xxxxxxxxxxxxxx> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux