Make sure that functions are also listed in SupportedDependencyByCitus

We've recently merged two commits, db5d03931d
and eccba1d4c3, which actually operates
on the very similar places.

It turns out that we've an integration issue, where master_add_node()
fails to replicate the functions to newly added node.
pull/3001/head
Onder Kalaci 2019-09-20 11:02:50 +02:00
parent 4875c3c81c
commit e1fe8d60b4
2 changed files with 7 additions and 2 deletions

View File

@ -339,6 +339,11 @@ SupportedDependencyByCitus(const ObjectAddress *address)
return true; return true;
} }
case OCLASS_PROC:
{
return true;
}
case OCLASS_TYPE: case OCLASS_TYPE:
{ {
switch (get_typtype(address->objectId)) switch (get_typtype(address->objectId))

View File

@ -1974,7 +1974,7 @@ count
run_command_on_workers run_command_on_workers
(localhost,57637,t,1) (localhost,57637,t,1)
(localhost,57638,t,0) (localhost,57638,t,1)
master_remove_node master_remove_node
@ -2103,7 +2103,7 @@ count
run_command_on_workers run_command_on_workers
(localhost,57637,t,1) (localhost,57637,t,1)
(localhost,57638,t,0) (localhost,57638,t,1)
master_remove_node master_remove_node