From 82a4a777d94bec965ab2f1d04b6e6a3f0447b377 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Wed, 19 Oct 2011 23:25:20 -0400 Subject: 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. --- src/include/catalog/objectaddress.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include/catalog') 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 */ -- cgit v1.2.3