Re: ObjectClass/ObjectType mixup

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: ObjectClass/ObjectType mixup
Date: 2013-04-11 15:10:07
Message-ID: 20130411151007.GA30671@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2013-04-11 15:12:03 Re: Clang compiler warning on 9.3 HEAD
Previous Message Ants Aasma 2013-04-11 15:09:32 Re: Inconsistent DB data in Streaming Replication