提交 b33db557 编写于 作者: J Jacob Champion

set_config_by_name(): fix whitespace

...as suggested by our master version of pgindent.
上级 84707337
......@@ -7500,16 +7500,17 @@ set_config_by_name(PG_FUNCTION_ARGS)
true,
0);
if (Gp_role == GP_ROLE_DISPATCH && !IsBootstrapProcessingMode())
{
StringInfoData buffer;
initStringInfo(&buffer);
appendStringInfo(&buffer, "SET ");
if (is_local)
appendStringInfo(&buffer, "LOCAL ");
appendStringInfo(&buffer, "%s TO '%s'", name, value);
CdbDispatchSetCommand(buffer.data, false /* cancelOnError */);
}
if (Gp_role == GP_ROLE_DISPATCH && !IsBootstrapProcessingMode())
{
StringInfoData buffer;
initStringInfo(&buffer);
appendStringInfo(&buffer, "SET ");
if (is_local)
appendStringInfo(&buffer, "LOCAL ");
appendStringInfo(&buffer, "%s TO '%s'", name, value);
CdbDispatchSetCommand(buffer.data, false /* cancelOnError */ );
}
/* get the new current value */
new_value = GetConfigOptionByName(name, NULL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册