Re: Wrap access to Oid in HeapTupleHeader

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Manfred Koizar <mkoi-pg(at)aon(dot)at>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Wrap access to Oid in HeapTupleHeader
Date: 2002-07-01 15:10:20
Message-ID: 10190.1025536220@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Manfred Koizar <mkoi-pg(at)aon(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Manfred Koizar 2002-07-01 15:35:54 Re: [PATCHES] Reduce heap tuple header size
Previous Message Manfred Koizar 2002-07-01 15:04:01 Re: Wrap access to Oid in HeapTupleHeader