In ExecInitAppend it has a loop...
foreach(rtentryP, rtable) {
resultList = lcons(rri, resultList);}appendstate->as_result_relation_info_list = resultList;
If I'm not mistaken this will generate the as_result_relation_info_list
in the reverse order to the rtentry list, which is wrong... right?