• H
    Move transient information out of PlannedStmt, to a new struct. · 41478b89
    Heikki Linnakangas 提交于
    That includes the slice table, transientRecordTypes, and IntoClause's
    oidInfo. These are transient information, created in ExecutorStart, not
    something that should be cached along with the plan. transientRecordTypes
    and oidInfo in particular were stored in PlannedStmt only so that they can
    be conveniently dispatched to QEs along with the plan. That's not a problem
    at the moment, but with the upcoming PostgreSQL 8.3 merge, we'll start
    keeping the PlannedStmt struct around for many executions, so let's create
    a new struct to hold that kind of information, which is transmitted from
    QD to QEs along with the plan (that new struct is called QueryDispatchDesc).
    41478b89
copyfuncs.c 104.8 KB