Chris Bitmead wrote:
>
> In ExecInitAppend it has a loop...
>
> foreach(rtentryP, rtable)
> {
>
> resultList = lcons(rri, resultList);
> }
>
> appendstate->as_result_relation_info_list = resultList;
This seems to be the problem. I'm going to change the above line to...
appendstate->as_result_relation_info_list = lreverse(resultList);
After I do this, UPDATE and DELETE start working for me on subclasses.
I'll prepare a full patch for inclusion in 7.1 (Unless you want it for
7.0 :-).