Fix corner case wherein a WorkTableScan node could get initialized before the

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 0a7abcd4c983e25a4efb46a4a4942aef92c70338
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-10-13T00:41:41Z
Releases: 8.4.0
Fix corner case wherein a WorkTableScan node could get initialized before the
RecursiveUnion to which it refers.  It turns out that we can just postpone the
relevant initialization steps until the first exec call for the node, by which
time the ancestor node must surely be initialized.  Per report from Greg Stark.

Files