bug in opclass "alter table owner" handling?

Started by Alvaro Herreraabout 21 years ago2 messagespatches
Jump to latest
#1Alvaro Herrera
alvherre@2ndquadrant.com

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)

Attachments:

opclasscmds.patchtext/plain; charset=us-asciiDownload+4-2
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Alvaro Herrera (#1)
Re: bug in opclass "alter table owner" handling?

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