Home > Archive > PostgreSQL Patches > August 2005 > bug in opclass "alter table owner" handling?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author bug in opclass "alter table owner" handling?
Alvaro Herrera

2005-08-22, 8:25 pm

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)

Tom Lane

2005-08-23, 3:24 am

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 changeDependencyOnOw
ner seem
OK; I guess this one was just a thinko.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com