Re: BUG #14984: function "heap_tuple_from_minimal_tuple" lost HeapTupleHeader->t_len value - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #14984: function "heap_tuple_from_minimal_tuple" lost HeapTupleHeader->t_len value
Date
Msg-id 12154.1513784376@sss.pgh.pa.us
Whole thread Raw
In response to BUG #14984: function "heap_tuple_from_minimal_tuple" lostHeapTupleHeader->t_len value  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
>     memset(result->t_data, 0, offsetof(HeapTupleHeaderData, t_infomask2));
> /* when memset return, result->t_data->t_len value lost
>    should append code:
>    HeapTupleHeaderSetDatumLength(result->t_data, len);
> */

As with #14985, you haven't shown any reason why this is a good change
to make.

            regards, tom lane


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #14985: ExecCopySlotTuple not set "type id" and "type mod" when from minial tuple"
Next
From: PG Bug reporting form
Date:
Subject: BUG #14987: pg_dump fails due to postgis linking problem