It looks like commit 3bd909b22 did not place GatherPath withinprint_path(), preventing complete information for Gather paths fromappearing when OPTIMIZER_DEBUG is in use.
Attached patch fixes the issue.
-- Peter Geoghegan