summaryrefslogtreecommitdiff
path: root/src/include/catalog
diff options
context:
space:
mode:
authorRobert Haas2011-10-20 03:25:20 +0000
committerRobert Haas2011-10-20 03:27:19 +0000
commit82a4a777d94bec965ab2f1d04b6e6a3f0447b377 (patch)
treeb3560173b695b8391ca81edf47c4b364005a608b /src/include/catalog
parent3301c83536e9da1e573e24ded2e610062dbf9cdc (diff)
Consolidate DROP handling for some object types.
This gets rid of a significant amount of duplicative code. KaiGai Kohei, reviewed in earlier versions by Dimitri Fontaine, with further review and cleanup by me.
Diffstat (limited to 'src/include/catalog')
-rw-r--r--src/include/catalog/objectaddress.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/catalog/objectaddress.h b/src/include/catalog/objectaddress.h
index 2da6309054b..eddccb88017 100644
--- a/src/include/catalog/objectaddress.h
+++ b/src/include/catalog/objectaddress.h
@@ -35,4 +35,6 @@ extern void check_object_ownership(Oid roleid,
ObjectType objtype, ObjectAddress address,
List *objname, List *objargs, Relation relation);
+extern Oid get_object_namespace(const ObjectAddress *address);
+
#endif /* PARSE_OBJECT_H */