Fix oversight in optimization that avoids an unnecessary projection step

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

Commit: a376a4673ae9c331700f19f1bae999e3eadfaf10
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-01-22T02:23:21Z
Releases: 8.0.0
Fix oversight in optimization that avoids an unnecessary projection step
when scanning a table that we need all the columns from.  In case of
SELECT INTO, we have to check that the hasoids flag matches the desired
output type, too.  Per report from Mike Mascari.

Files