reassign owned to change the ownership for op class and family - Mailing list pgsql-hackers

From Asko Tiidumaa
Subject reassign owned to change the ownership for op class and family
Date
Msg-id AANLkTimEWxxsoab2mwAhJNlzCVUmXsr2FXUbBTAwkgAi@mail.gmail.com
Whole thread Raw
Responses Re: reassign owned to change the ownership for op class and family
List pgsql-hackers
Currently REASSIGN OWNED complains "unexpected classid" for operator
class and family.

For example,

create two users, user1 and user2

under user1:
create type oxetype as enum ('oxe1');
create operator class oxeops
default for type oxetype using btree as
function 1 array_lower(anyarray,integer);

and then observe "unexpected classid" error:
reassign owned by user1 to user2

So I propose a patch that goes against head, and it would be great to
get it backported to at least 8.3 branch

Comments?


Asko Tiidumaa
---
Skype, Sr DBA

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Cannot cancel the change of a tablespace
Next
From: Guillaume Lelarge
Date:
Subject: Re: Cannot cancel the change of a tablespace