projects
/
users
/
kgrittn
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d75101
)
Fix get_object_namespace() not to think extensions are "in" a schema.
author
Robert Haas
<rhaas@postgresql.org>
Thu, 20 Oct 2011 04:05:31 +0000
(
00:05
-0400)
committer
Robert Haas
<rhaas@postgresql.org>
Thu, 20 Oct 2011 04:07:41 +0000
(
00:07
-0400)
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.
src/backend/catalog/objectaddress.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/catalog/objectaddress.c
b/src/backend/catalog/objectaddress.c
index de2a26dada9143f615c47bc99ec07d5b37fe8169..ec4c98769ac61cf188169157ff4d210d1763d1d4 100644
(file)
--- 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,