Re: Wrap access to Oid in HeapTupleHeader - Mailing list pgsql-patches

From Tom Lane
Subject Re: Wrap access to Oid in HeapTupleHeader
Date
Msg-id 10190.1025536220@sss.pgh.pa.us
Whole thread Raw
In response to Re: Wrap access to Oid in HeapTupleHeader  (Manfred Koizar <mkoi-pg@aon.at>)
Responses Re: Wrap access to Oid in HeapTupleHeader
List 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 by date:

Previous
From: Manfred Koizar
Date:
Subject: Re: Wrap access to Oid in HeapTupleHeader
Next
From: Bruce Momjian
Date:
Subject: Re: Reduce heap tuple header size