Re: BUG #14984: function "heap_tuple_from_minimal_tuple" lost HeapTupleHeader->t_len value

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #14984: function "heap_tuple_from_minimal_tuple" lost HeapTupleHeader->t_len value
Дата
Msg-id 12154.1513784376@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #14984: function "heap_tuple_from_minimal_tuple" lostHeapTupleHeader->t_len value  (PG Bug reporting form <noreply@postgresql.org>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #14985: ExecCopySlotTuple not set "type id" and "type mod" when from minial tuple"
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #14987: pg_dump fails due to postgis linking problem