diff --git a/src/backend/catalog/pg_shdepend.c b/src/backend/catalog/pg_shdepend.c index 6ddb87bf003b5ed2ecc4cd430aabbdf119384516..34fe4e2474585a725241cf57560ec807459f4bd3 100644 --- a/src/backend/catalog/pg_shdepend.c +++ b/src/backend/catalog/pg_shdepend.c @@ -67,7 +67,7 @@ typedef enum LOCAL_OBJECT, SHARED_OBJECT, REMOTE_OBJECT -} objectType; +} SharedDependencyObjectType; static void getOidListDiff(Oid *list1, int *nlist1, Oid *list2, int *nlist2); static Oid classIdGetDbId(Oid classId); @@ -84,7 +84,8 @@ static void shdepDropDependency(Relation sdepRel, bool drop_subobjects, Oid refclassId, Oid refobjId, SharedDependencyType deptype); -static void storeObjectDescription(StringInfo descs, objectType type, +static void storeObjectDescription(StringInfo descs, + SharedDependencyObjectType type, ObjectAddress *object, SharedDependencyType deptype, int count); @@ -1062,7 +1063,8 @@ shdepLockAndCheckObject(Oid classId, Oid objectId) * and count to be nonzero; deptype is not used in this case. */ static void -storeObjectDescription(StringInfo descs, objectType type, +storeObjectDescription(StringInfo descs, + SharedDependencyObjectType type, ObjectAddress *object, SharedDependencyType deptype, int count)