Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Bugs > BUG #4132: REAS...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 3742 of 3899
Post > Topic >>

BUG #4132: REASSIGN OWNED fails on procedural languages

by xi@[EMAIL PROTECTED] ("Kirill Simonov") Apr 29, 2008 at 06:42 PM

The following bug has been logged online:

Bug reference:      4132
Logged by:          Kirill Simonov
Email address:      xi@[EMAIL PROTECTED]
 version: 8.3.1
Operating system:   FreeBSD
Description:        REASSIGN OWNED fails on procedural languages
Details: 

In Postgresql 8.3, one can assign owners to procedural languages using
"ALTER LANGUAGE ... OWNER TO ...".  However the command "REASSIGN OWNED
...
TO ...", which reassigns the owner of all objects owned by a particular
user, fails if the user owns a procedural language.  The error message is
"unexpected classid 2612", which is the class id of pg_language.

Here is a snippet of code for reproducing this problem:

CREATE USER original_owner SUPERUSER;
CREATE USER new_owner SUPERUSER;

CREATE LANGUAGE plpgsql;
ALTER LANGUAGE plpgsql OWNER TO original_owner;

REASSIGN OWNED BY original_owner TO new_owner;

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
 




 3 Posts in Topic:
BUG #4132: REASSIGN OWNED fails on procedural languages
xi@[EMAIL PROTECTED] (&q  2008-04-29 18:42:45 
Re: BUG #4132: REASSIGN OWNED fails on procedural languages
alvherre@[EMAIL PROTECTED  2008-04-29 15:20:23 
Re: BUG #4132: REASSIGN OWNED fails on procedural languages
alvherre@[EMAIL PROTECTED  2008-04-29 15:25:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Sun Jul 6 17:44:33 CDT 2008.