Thread: bug in opclass "alter table owner" handling?

bug in opclass "alter table owner" handling?

From
Alvaro Herrera
Date:
Looks like a bug to me, at least -- opclasses are registered using the
opclass Oid, not the access method Oid, right?

--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"The eagle never lost so much time, as
when he submitted to learn of the crow." (William Blake)

Attachment

Re: bug in opclass "alter table owner" handling?

From
Tom Lane
Date:
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Looks like a bug to me, at least -- opclasses are registered using the
> opclass Oid, not the access method Oid, right?

Yup, definitely wrong.  Patch applied --- thanks!

[ digs around ... ]  The other calls of changeDependencyOnOwner seem
OK; I guess this one was just a thinko.

            regards, tom lane