Re: [GENERAL] Custom Type Alignment

2008-12-20 Thread Tom Lane
"Paul Ramsey" writes: > 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) ? No, the valu

[GENERAL] Custom Type Alignment

2008-12-20 Thread Paul Ramsey
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 -- Sent via pgsql-general ma