From 9e938ba1a3609219afd2c8466c8bacc419fabdd4 Mon Sep 17 00:00:00 2001 From: Burak Velioglu Date: Wed, 9 Feb 2022 16:46:52 +0300 Subject: [PATCH] Style --- src/backend/distributed/commands/function.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/backend/distributed/commands/function.c b/src/backend/distributed/commands/function.c index 37c040f0f..97dcca3ca 100644 --- a/src/backend/distributed/commands/function.c +++ b/src/backend/distributed/commands/function.c @@ -1312,7 +1312,7 @@ PostprocessCreateFunctionStmt(Node *node, const char *queryString) " non-distributed relations or sequences"), errdetail("Function will be created only locally"), errhint("To distribute function, distribute dependent relations" - " and sequences first"))); + " and sequences first"))); return NIL; } @@ -1325,15 +1325,16 @@ PostprocessCreateFunctionStmt(Node *node, const char *queryString) return NodeDDLTaskList(NON_COORDINATOR_NODES, commands); } + /* - * FunctionDependsOnNonDistributedRelation checks whether the given function depends + * FunctionDependsOnNonDistributedRelation checks whether the given function depends * on non-distributed relation. */ bool FunctionDependsOnNonDistributedRelation(ObjectAddress *functionAddress) { Assert(getObjectClass(functionAddress) == OCLASS_PROC); - + List *dependencies = GetDependenciesForObject(functionAddress); ObjectAddress *dependency = NULL; foreach_ptr(dependency, dependencies)