mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +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:
@ -285,7 +285,7 @@ ExecInitValuesScan(ValuesScan *node, EState *estate, int eflags)
|
||||
i = 0;
|
||||
foreach(vtl, node->values_lists)
|
||||
{
|
||||
List *exprs = castNode(List, lfirst(vtl));
|
||||
List *exprs = lfirst_node(List, vtl);
|
||||
|
||||
scanstate->exprlists[i] = exprs;
|
||||
|
||||
|
Reference in New Issue
Block a user