pgsql: Simplify list traversal logic in add_path(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Simplify list traversal logic in add_path().
Date
Msg-id E1Pyobp-00043E-RM@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Simplify list traversal logic in add_path().

Its mechanism for recovering after deleting the current list cell was
a bit klugy.  Borrow the technique used in other places.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a2eb9e0c08ee73208b5419f5a53a6eba55809b92

Modified Files
--------------
src/backend/optimizer/util/pathnode.c |   21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Make all comparisons done for/with statistics use the default co
Next
From: Bruce Momjian
Date:
Subject: pgsql: Remove duplicate time-based macros recently added.