Use lfirst_node() and linitial_node() where appropriate in planner.c.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/optimizer/plan/planner.c | modified | +61 −61 |
Discussion
- Replacing lfirst() with lfirst_node() appropriately in planner.c 8 messages · 2017-07-13 → 2017-09-06