Re: [HACKERS] Is this it?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: chris(at)bitmead(dot)com
Cc: "pgsql-hackers(at)postgreSQL(dot)org" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Is this it?
Date: 2000-02-08 06:17:28
Message-ID: 348.949990648@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Chris Bitmead <chrisb(at)nimrod(dot)itg(dot)telstra(dot)com(dot)au> writes:
> 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,

Check ...

> which is wrong... right?

Maybe. Is there code elsewhere that assumes these lists are ordered
alike?

You could change the lcons call to "lappend(resultList, rri)" if
you just want to try the experiment.

regards, tom lane

In response to

  • Is this it? at 2000-02-08 04:24:14 from Chris Bitmead

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2000-02-08 06:41:41 Re: [HACKERS] Regression tests...
Previous Message Chris Bitmead 2000-02-08 06:07:02 Re: [HACKERS] New Globe