On Fri, Aug 27, 2010 at 5:35 PM, Kevin Grittner
<Kevin.Grittner@wicourts.gov> wrote:
> Robert Haas <robertmhaas@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;
OK, I must be missing something. Go through that a little slower?
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company