Re: More Tuple Madness

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Michael Richards" <miker(at)interchange(dot)ca>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: More Tuple Madness
Date: 2000-12-17 18:14:49
Message-ID: 21059.977076889@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Michael Richards" <miker(at)interchange(dot)ca> writes:
> The alignment seems to be wrong for type CHAR(1):

No, the alignment is fine. A field's align constraint says where it has
to start, not where the next field has to start. gender starts on a
4-byte boundary and is 5 bytes long, then we have one byte wasted for
alignment of yearofbirth, then yearofbirth starts on a 2-byte boundary.
Everyone's happy.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2000-12-17 18:24:46 pg_dumpall --accounts-only
Previous Message Tom Lane 2000-12-17 18:05:48 Re: Table name scope (was Re: Outer joins aren't working with views)