Re: [HACKERS] Is this it? - Mailing list pgsql-hackers

From Chris Bitmead
Subject Re: [HACKERS] Is this it?
Date
Msg-id 389FA0F5.34427139@nimrod.itg.telecom.com.au
Whole thread Raw
In response to UPDATE on subclass  (Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>)
List pgsql-hackers
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 :-).


pgsql-hackers by date:

Previous
From: Chris Bitmead
Date:
Subject: Re: [HACKERS] ExecInitAppend
Next
From: Chris Bitmead
Date:
Subject: Regression tests...