Re: [HACKERS] ExecInitAppend

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] ExecInitAppend
Date: 2000-02-08 04:27:10
Message-ID: 27992.949984030@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 initialises all the subplans...
> And then at the end of the function, it initialises the first plan
> again...
> Is this code correct? Should the first plan really be initialised twice?

Probably not --- I imagine that's wasting memory, or worse. Do things
still work if you remove the extra initialize call?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Bitmead 2000-02-08 04:46:52 Re: [HACKERS] ExecInitAppend
Previous Message Chris Bitmead 2000-02-08 04:24:14 Is this it?