I noticed that the description of root_tuple_slot member is missing in thecomment above PartitionTupleRouting definition. See if the attached patchfixes it correctly.
Thanks,Amit