aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeGroup.c
diff options
context:
space:
mode:
authorJan Wieck <JanWieck@Yahoo.com>1999-12-16 22:20:03 +0000
committerJan Wieck <JanWieck@Yahoo.com>1999-12-16 22:20:03 +0000
commit397e9b32a3c2b2c72dcb9cb99cbf2a162aadcb73 (patch)
tree17583111e0e7c2ca83b94040d48a1036f870b9a4 /src/backend/executor/nodeGroup.c
parent5ca971a18a708341dd49f27c23fec40ea4342d13 (diff)
downloadpostgresql-397e9b32a3c2b2c72dcb9cb99cbf2a162aadcb73.tar.gz
postgresql-397e9b32a3c2b2c72dcb9cb99cbf2a162aadcb73.zip
Some changes to prepare for LONG attributes.
Jan
Diffstat (limited to 'src/backend/executor/nodeGroup.c')
-rw-r--r--src/backend/executor/nodeGroup.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/executor/nodeGroup.c b/src/backend/executor/nodeGroup.c
index 38f7a0365db..79edf78a274 100644
--- a/src/backend/executor/nodeGroup.c
+++ b/src/backend/executor/nodeGroup.c
@@ -13,7 +13,7 @@
* columns. (ie. tuples from the same group are consecutive)
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.30 1999/09/24 00:24:23 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.31 1999/12/16 22:19:44 wieck Exp $
*
*-------------------------------------------------------------------------
*/
@@ -124,7 +124,7 @@ ExecGroupEveryTuple(Group *node)
ExecGetScanType(&grpstate->csstate)))
{
grpstate->grp_useFirstTuple = TRUE;
- pfree(firsttuple);
+ heap_freetuple(firsttuple);
grpstate->grp_firstTuple = heap_copytuple(outerTuple);
return NULL; /* signifies the end of the group */
@@ -242,7 +242,7 @@ ExecGroupOneTuple(Group *node)
/* save outerTuple if we are not done yet */
if (!grpstate->grp_done)
{
- pfree(firsttuple);
+ heap_freetuple(firsttuple);
grpstate->grp_firstTuple = heap_copytuple(outerTuple);
}
@@ -341,7 +341,7 @@ ExecEndGroup(Group *node)
ExecClearTuple(grpstate->csstate.css_ScanTupleSlot);
if (grpstate->grp_firstTuple != NULL)
{
- pfree(grpstate->grp_firstTuple);
+ heap_freetuple(grpstate->grp_firstTuple);
grpstate->grp_firstTuple = NULL;
}
}
@@ -429,7 +429,7 @@ ExecReScanGroup(Group *node, ExprContext *exprCtxt, Plan *parent)
grpstate->grp_done = FALSE;
if (grpstate->grp_firstTuple != NULL)
{
- pfree(grpstate->grp_firstTuple);
+ heap_freetuple(grpstate->grp_firstTuple);
grpstate->grp_firstTuple = NULL;
}