pgsql: Use lfirst_node() and linitial_node() where appropriate in plann

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use lfirst_node() and linitial_node() where appropriate in plann
Date: 2017-09-05 19:57:54
Message-ID: E1dpJys-00026T-KE@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6e427aa4e5f3ad79a79b463c470daf93fa15767b

Modified Files
--------------
src/backend/optimizer/plan/planner.c | 122 +++++++++++++++++------------------
1 file changed, 61 insertions(+), 61 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-09-05 20:41:41 pgsql: Fix psql's --help=commands output line count.
Previous Message Andres Freund 2017-09-05 19:10:13 Re: pgsql: Remove endof macro