ExecInitAppend

From: Chris Bitmead <chrisb(at)nimrod(dot)itg(dot)telstra(dot)com(dot)au>
To: "pgsql-hackers(at)postgreSQL(dot)org" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: ExecInitAppend
Date: 2000-02-08 03:26:48
Message-ID: 389F8CF8.F2E54991@nimrod.itg.telecom.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


In ExecInitAppend it initialises all the subplans...

for (i = 0; i < nplans; i++)
{
...
appendstate->as_whichplan = i;
exec_append_initialize_next(node);
..
}

And then at the end of the function, it initialises the first plan
again...

appendstate->as_whichplan = 0;
exec_append_initialize_next(node);

return TRUE;

Is this code correct? Should the first plan really be initialised twice?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 2000-02-08 03:27:54 RE: [HACKERS] TODO item
Previous Message Tom Lane 2000-02-08 03:26:19 Re: [HACKERS] TODO item