Fix the mechanism for reporting the original table OID and column number

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

Commit: e98edb5555de0197ba4ffc99b4f3db134c99a86f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-06-22T17:45:46Z
Releases: 8.1.0
Fix the mechanism for reporting the original table OID and column number
of columns of a query result so that it can "see through" cursors and
prepared statements.  Per gripe a couple months back from John DeSoi.

Files