Re: Wrap access to Oid in HeapTupleHeader

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Wrap access to Oid in HeapTupleHeader
Дата
Msg-id 10190.1025536220@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Wrap access to Oid in HeapTupleHeader  (Manfred Koizar <mkoi-pg@aon.at>)
Ответы Re: Wrap access to Oid in HeapTupleHeader  (Manfred Koizar <mkoi-pg@aon.at>)
Список pgsql-patches
Manfred Koizar <mkoi-pg@aon.at> writes:
>> I do not see the point of this in any case.

> I see you have read my proposal on -hackers in the meantime.  Does
> that make it clearer?

Yes, but I still think the Assert is useless.  The only thing it can
catch is failure to set t_hoff before touching the OID, but in practice
if t_hoff has not been set then it will be uninitialized garbage; the
odds that the Assert will actually fire are only about 1 in 10.

            regards, tom lane



В списке pgsql-patches по дате отправления:

Предыдущее
От: Manfred Koizar
Дата:
Сообщение: Re: Wrap access to Oid in HeapTupleHeader
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Reduce heap tuple header size