mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +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:
@@ -431,7 +431,7 @@ process_subquery_nestloop_params(PlannerInfo *root, List *subplan_params)
|
||||
|
||||
foreach(lc, subplan_params)
|
||||
{
|
||||
PlannerParamItem *pitem = castNode(PlannerParamItem, lfirst(lc));
|
||||
PlannerParamItem *pitem = lfirst_node(PlannerParamItem, lc);
|
||||
|
||||
if (IsA(pitem->item, Var))
|
||||
{
|
||||
|
Reference in New Issue
Block a user