fix file_fdw bug, for format option
This commit is contained in:
parent
7ca4c571ce
commit
5d8cfdab29
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue