mirror of https://github.com/citusdata/citus.git
Guard against missing address function
parent
9b583fdb0d
commit
29ed28623d
|
@ -666,8 +666,11 @@ ProcessUtilityInternal(PlannedStmt *pstmt,
|
||||||
* MarkObjectDistributedLocally since altering already distributed object won't
|
* MarkObjectDistributedLocally since altering already distributed object won't
|
||||||
* call MarkObjectDistributedLocally but will hit the check here.
|
* call MarkObjectDistributedLocally but will hit the check here.
|
||||||
*/
|
*/
|
||||||
ObjectAddress targetObject = GetObjectAddressFromParseTree(parsetree, false);
|
if (ops && ops->address)
|
||||||
ErrorIfCircularDependencyExists(&targetObject);
|
{
|
||||||
|
ObjectAddress targetObject = GetObjectAddressFromParseTree(parsetree, true);
|
||||||
|
ErrorIfCircularDependencyExists(&targetObject);
|
||||||
|
}
|
||||||
|
|
||||||
if (ops && ops->postprocess)
|
if (ops && ops->postprocess)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue