mirror of https://github.com/citusdata/citus.git
DEBUG only when the function is distributed
Otherwise, we're seeing this message way to often.pull/3152/head
parent
960cd02c67
commit
471703bfaf
|
@ -224,9 +224,12 @@ TryToDelegateFunctionCall(Query *query, bool *hasExternParam)
|
||||||
if (procedure == NULL || !procedure->isDistributed)
|
if (procedure == NULL || !procedure->isDistributed)
|
||||||
{
|
{
|
||||||
/* not a distributed function call */
|
/* not a distributed function call */
|
||||||
ereport(DEBUG4, (errmsg("function is not distributed")));
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ereport(DEBUG4, (errmsg("function is distributed")));
|
||||||
|
}
|
||||||
|
|
||||||
if (IsMultiStatementTransaction())
|
if (IsMultiStatementTransaction())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue