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(-)