aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2011-10-20 00:05:31 -0400
committerRobert Haas <rhaas@postgresql.org>2011-10-20 00:07:41 -0400
commit8f3362d4b7430079bb53a954e372955eb285cf52 (patch)
tree60d4da8d61a047fe2a3433b3008f7c33093b6658 /src
parent1d751018d881f415a61787424d900ae8a7126da3 (diff)
downloadpostgresql-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.c2
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,