Fix get_object_namespace() not to think extensions are "in" a schema.

extnamespace means something altogether different in this context.
Mostly by accident, this coding error (introduced in my commit
82a4a777d94bec965ab2f1d04b6e6a3f0447b377) broke the buildfarm instead
of just silently doing the wrong thing.
This commit is contained in:
Robert Haas 2011-10-20 00:05:31 -04:00
parent 1d751018d8
commit 8f3362d4b7

View File

@ -116,7 +116,7 @@ static ObjectPropertyType ObjectProperty[] =
ExtensionRelationId,
ExtensionOidIndexId,
-1,
Anum_pg_extension_extnamespace
InvalidAttrNumber /* extension doesn't belong to extnamespace */
},
{
ForeignDataWrapperRelationId,