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
82a4a777d9) 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
1 changed files with 1 additions and 1 deletions

View File

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