!1225 修复file_fdw插件format选项问题

Merge pull request !1225 from 熊小军/master
This commit is contained in:
opengauss-bot
2021-09-03 01:59:27 +00:00
committed by Gitee

View File

@ -244,8 +244,10 @@ Datum file_fdw_validator(PG_FUNCTION_ARGS)
if (strcasecmp(fmt, "fixed") == 0) {
ereport(ERROR, (errcode(ERRCODE_SYNTAX_ERROR), errmsg("file_fdw doesn't support fixed option in format")));
}
} else
other_options = lappend(other_options, def);
} else {
other_options = lappend(other_options, def);
}
}
/*