Fix option parse

onder_view
Burak Velioglu 2022-04-20 18:23:46 +03:00
parent 50201f4bec
commit 72119112eb
2 changed files with 11 additions and 7 deletions

View File

@ -144,9 +144,12 @@ AddOptionsToCreateViewCommand(StringInfo buf, ViewStmt *stmt)
}
appendStringInfoString(buf, option->defname);
if (option->arg != NULL)
{
appendStringInfoString(buf, "=");
appendStringInfoString(buf, defGetString(option));
}
}
appendStringInfoString(buf, ") ");
}

View File

@ -820,7 +820,8 @@ DeferErrorIfHasUnsupportedDependency(const ObjectAddress *objectAddress)
if (IsObjectDistributed(objectAddress))
{
appendStringInfo(hintInfo, "Distribute \"%s\" first to update \"%s\" on worker nodes",
appendStringInfo(hintInfo,
"Distribute \"%s\" first to update \"%s\" on worker nodes",
dependencyDescription,
objectDescription);
}