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/access/heap/tuptoaster.c | |
| parent | 40314f2dac2ecb2974d03c064917a70de74c63d5 (diff) | |
| download | postgresql-dd218ae7b00ccb4576e0048fc85665c8ae6bcf93.tar.gz | |
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/access/heap/tuptoaster.c')
| -rw-r--r-- | src/backend/access/heap/tuptoaster.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/access/heap/tuptoaster.c b/src/backend/access/heap/tuptoaster.c index 99d725c27c..c18ea54282 100644 --- a/src/backend/access/heap/tuptoaster.c +++ b/src/backend/access/heap/tuptoaster.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/heap/tuptoaster.c,v 1.54 2005/11/20 18:38:20 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/access/heap/tuptoaster.c,v 1.55 2005/11/20 19:49:07 tgl Exp $ * * * INTERFACE ROUTINES @@ -774,7 +774,6 @@ toast_insert_or_update(Relation rel, HeapTuple newtup, HeapTuple oldtup) result_tuple->t_len = new_len; result_tuple->t_self = newtup->t_self; result_tuple->t_tableOid = newtup->t_tableOid; - result_tuple->t_datamcxt = CurrentMemoryContext; new_data = (HeapTupleHeader) ((char *) result_tuple + HEAPTUPLESIZE); result_tuple->t_data = new_data; |
