PgTypeAlignment
Namespace: Ankus
Assembly: Ankus.Runtime.dll
Selects the PostgreSQL datum alignment of a generated variable-length base type.
public enum PgTypeAlignmentAlignment describes database storage and does not change the codec’s payload bytes or the managed type’s layout. PostgreSQL does not permit smaller alignments for variable-length types.
Fields
Section titled “Fields”EightBytes
Section titled “EightBytes”Uses PostgreSQL’s double alignment.
EightBytes = 1FourBytes
Section titled “FourBytes”Uses PostgreSQL’s int4 alignment, the default for generated base types.
FourBytes = 0