Use lfirst_node() and linitial_node() where appropriate in planner.c.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6e427aa4e5f3ad79a79b463c470daf93fa15767b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-09-05T19:57:48Z
Releases: 11.0
Use lfirst_node() and linitial_node() where appropriate in planner.c.

There's no particular reason to target this module for the first
wholesale application of these macros; but we gotta start somewhere.

Ashutosh Bapat and Jeevan Chalke

Discussion: https://postgr.es/m/CAFjFpRcNr3r=u0ni=7A4GD9NnHQVq+dkFafzqo2rS6zy=dt1eg@mail.gmail.com

Files

PathChange+/−
src/backend/optimizer/plan/planner.c modified +61 −61

Discussion