Re: [HACKERS] ExecInitAppend - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] ExecInitAppend
Date
Msg-id 27992.949984030@sss.pgh.pa.us
Whole thread Raw
In response to ExecInitAppend  (Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>)
List pgsql-hackers
Chris Bitmead <chrisb@nimrod.itg.telstra.com.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


pgsql-hackers by date:

Previous
From: Chris Bitmead
Date:
Subject: Re: [HACKERS] UPDATE on subclass
Next
From: Chris Bitmead
Date:
Subject: Is this it?