fix file_fdw bug, for format option

This commit is contained in:
xiong_xjun 2021-08-16 19:57:46 +08:00
parent 7ca4c571ce
commit 5d8cfdab29
1 changed files with 3 additions and 1 deletions

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);
}
}
/*