Custom Type Alignment

From: "Paul Ramsey" <pramsey(at)cleverelephant(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Custom Type Alignment
Date: 2008-12-20 21:12:11
Message-ID: 30fe546d0812201312w132f6a91v24dd1969ec5088c7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Simple question on CREATE TYPE (I hope):

When using the "alignment" option, and setting it to "double", what
ends up double aligned? VARDATA()? The whole thing datum (so that the
alignment of VARDATA() is actually conditioned on the size of
VARHDRSZ) ?

Thanks,

Paul

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-12-20 21:47:40 Re: Custom Type Alignment
Previous Message Merlin Moncure 2008-12-20 15:18:45 Re: [PGSQL 8.3.5] How to handle FKs with partitioning?