Robert Haas <robertmh...@gmail.com> wrote:
 
> I suppose this is unhappy because it things elog(ERROR) might
> return?
 
It looks more like this code uses it without initialization:
 
        case OBJECT_INDEX:
        case OBJECT_SEQUENCE:
        case OBJECT_TABLE:
        case OBJECT_VIEW:
            relation =
                get_relation_by_qualified_name(objtype, objname,
lockmode);
            address.classId = RelationRelationId;
            address.objectId = RelationGetRelid(relation);
            address.objectSubId = 0;
            break;
 
-Kevin

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to