mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Use l*_node() family of functions where appropriate
Instead of castNode(…, lfoo(…)) Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> Discussion: https://www.postgresql.org/message-id/flat/87eecahraj.fsf@wibble.ilmari.org
This commit is contained in:
@ -585,7 +585,7 @@ ExecInitPartitionInfo(ModifyTableState *mtstate, EState *estate,
|
||||
|
||||
foreach(ll, wcoList)
|
||||
{
|
||||
WithCheckOption *wco = castNode(WithCheckOption, lfirst(ll));
|
||||
WithCheckOption *wco = lfirst_node(WithCheckOption, ll);
|
||||
ExprState *wcoExpr = ExecInitQual(castNode(List, wco->qual),
|
||||
&mtstate->ps);
|
||||
|
||||
|
Reference in New Issue
Block a user