Fix the mechanism for reporting the original table OID and column number
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/access/common/printtup.c | modified | +5 −11 |
| src/backend/commands/prepare.c | modified | +53 −1 |
| src/backend/tcop/postgres.c | modified | +6 −19 |
| src/backend/tcop/pquery.c | modified | +52 −1 |
| src/include/commands/prepare.h | modified | +2 −1 |
| src/include/tcop/pquery.h | modified | +3 −1 |