mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Cleanup Name usage.
This commit is contained in:
@ -26,7 +26,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.49 1998/07/19 03:46:29 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.50 1998/07/20 16:14:13 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -606,16 +606,6 @@ InitPlan(CmdType operation, Query *parseTree, Plan *plan, EState *estate)
|
||||
|
||||
estate->es_into_relation_descriptor = intoRelationDesc;
|
||||
|
||||
/* ----------------
|
||||
* return the type information..
|
||||
* ----------------
|
||||
*/
|
||||
/*
|
||||
attinfo = (AttrInfo *)palloc(sizeof(AttrInfo));
|
||||
attinfo->numAttr = len;
|
||||
attinfo->attrs = tupType->attrs;
|
||||
*/
|
||||
|
||||
return tupType;
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.32 1998/06/15 19:28:20 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.33 1998/07/20 16:14:13 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -309,8 +309,7 @@ ExecFreeResultType(CommonState *commonstate)
|
||||
slot = commonstate->cs_ResultTupleSlot;
|
||||
tupType = slot->ttc_tupleDescriptor;
|
||||
|
||||
/* ExecFreeTypeInfo(tupType); */
|
||||
pfree(tupType);
|
||||
ExecFreeTypeInfo(tupType);
|
||||
}
|
||||
|
||||
#endif
|
||||
@ -407,8 +406,7 @@ ExecFreeScanType(CommonScanState *csstate)
|
||||
slot = csstate->css_ScanTupleSlot;
|
||||
tupType = slot->ttc_tupleDescriptor;
|
||||
|
||||
/* ExecFreeTypeInfo(tupType); */
|
||||
pfree(tupType);
|
||||
ExecFreeTypeInfo(tupType);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user