diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-11-20 19:49:08 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-11-20 19:49:08 +0000 |
commit | dd218ae7b00ccb4576e0048fc85665c8ae6bcf93 (patch) | |
tree | 2e4687adfd16506d6ba5f988b730eddfbef7ab94 /src/backend/executor/nodeHashjoin.c | |
parent | 40314f2dac2ecb2974d03c064917a70de74c63d5 (diff) | |
download | postgresql-dd218ae7b00ccb4576e0048fc85665c8ae6bcf93.tar.gz postgresql-dd218ae7b00ccb4576e0048fc85665c8ae6bcf93.zip |
Remove the t_datamcxt field of HeapTupleData. This was introduced for
the convenience of tuptoaster.c and is no longer needed, so may as well
get rid of some small amount of overhead.
Diffstat (limited to 'src/backend/executor/nodeHashjoin.c')
-rw-r--r-- | src/backend/executor/nodeHashjoin.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/executor/nodeHashjoin.c b/src/backend/executor/nodeHashjoin.c index 817f3822ef6..856fe67732a 100644 --- a/src/backend/executor/nodeHashjoin.c +++ b/src/backend/executor/nodeHashjoin.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/nodeHashjoin.c,v 1.75 2005/10/18 01:06:24 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/executor/nodeHashjoin.c,v 1.76 2005/11/20 19:49:07 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -789,7 +789,6 @@ ExecHashJoinGetSavedTuple(HashJoinState *hjstate, errmsg("could not read from hash-join temporary file: %m"))); heapTuple = palloc(HEAPTUPLESIZE + htup.t_len); memcpy((char *) heapTuple, (char *) &htup, sizeof(HeapTupleData)); - heapTuple->t_datamcxt = CurrentMemoryContext; heapTuple->t_data = (HeapTupleHeader) ((char *) heapTuple + HEAPTUPLESIZE); nread = BufFileRead(file, (void *) heapTuple->t_data, htup.t_len); |