mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Make more use of castNode()
This commit is contained in:
@ -1123,7 +1123,7 @@ ProcessCopyOptions(ParseState *pstate,
|
||||
if (defel->arg && IsA(defel->arg, A_Star))
|
||||
cstate->force_quote_all = true;
|
||||
else if (defel->arg && IsA(defel->arg, List))
|
||||
cstate->force_quote = (List *) defel->arg;
|
||||
cstate->force_quote = castNode(List, defel->arg);
|
||||
else
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
|
||||
|
Reference in New Issue
Block a user