ObjectClass/ObjectType mixup
src/backend/catalog/dependency.c:213: EventTriggerSupportsObjectType(getObjectClass(thisobj)))
src/backend/commands/event_trigger.c:1014: Assert(EventTriggerSupportsObjectType(getObjectClass(object)));
getObjectClass() returns type ObjectClass, but
EventTriggerSupportsObjectType() takes type ObjectType, which are not
the same thing. I think this code might be wrong.
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Peter Eisentraut wrote:
src/backend/catalog/dependency.c:213: EventTriggerSupportsObjectType(getObjectClass(thisobj)))
src/backend/commands/event_trigger.c:1014: Assert(EventTriggerSupportsObjectType(getObjectClass(object)));getObjectClass() returns type ObjectClass, but
EventTriggerSupportsObjectType() takes type ObjectType, which are not
the same thing. I think this code might be wrong.
Yes, it is. I have just pushed a fix, thanks.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers