diff options
author | Robert Haas <rhaas@postgresql.org> | 2011-10-20 00:05:31 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2011-10-20 00:07:41 -0400 |
commit | 8f3362d4b7430079bb53a954e372955eb285cf52 (patch) | |
tree | 60d4da8d61a047fe2a3433b3008f7c33093b6658 /src | |
parent | 1d751018d881f415a61787424d900ae8a7126da3 (diff) | |
download | postgresql-8f3362d4b7430079bb53a954e372955eb285cf52.tar.gz postgresql-8f3362d4b7430079bb53a954e372955eb285cf52.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/catalog/objectaddress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/catalog/objectaddress.c b/src/backend/catalog/objectaddress.c index de2a26dada9..ec4c98769ac 100644 --- a/src/backend/catalog/objectaddress.c +++ b/src/backend/catalog/objectaddress.c @@ -116,7 +116,7 @@ static ObjectPropertyType ObjectProperty[] = ExtensionRelationId, ExtensionOidIndexId, -1, - Anum_pg_extension_extnamespace + InvalidAttrNumber /* extension doesn't belong to extnamespace */ }, { ForeignDataWrapperRelationId, |