Re: Tuple alignment

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Tuple alignment
Date: 2007-06-18 14:35:32
Message-ID: 988.1182177332@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Heikki Linnakangas <heikki(at)enterprisedb(dot)com> writes:
> Why do we require that t_hoff is MAXALIGNed? ISTM that if the first
> field in a tuple doesn't require alignment, it could be stored
> immediately after the null bitmap, without padding.

Then the intra-tuple alignment would be unpredictable.

The OID trick doesn't work very well either.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-06-18 14:54:19 Re: Reducing NUMERIC size for 8.3
Previous Message Simon Riggs 2007-06-18 14:31:29 Reducing NUMERIC size for 8.3