Skip to content

IPgNativeType

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Describes a generated unmanaged representation measured from one PostgreSQL header and compiler ABI.

public interface IPgNativeType

Generated bindings implement this contract without runtime reflection. Implementations must preserve the complete native size and field layout; an unmanaged constraint alone does not establish ABI compatibility.

Gets the identity of the complete measured binding ABI shared by these generated types.

public static abstract string AbiIdentity { get; }

Value: string

Gets the alignment required when allocating or borrowing this value in native memory.

public static abstract int NativeAlignment { get; }

Value: int

Gets the complete native value size, including padding but excluding flexible array storage.

public static abstract int NativeSize { get; }

Value: int

Gets the PostgreSQL major whose native declarations define this representation.

public static abstract int PostgresMajor { get; }

Value: int

Gets the operating-system and processor ABI measured by the selected native compiler.

public static abstract string RuntimeIdentifier { get; }

Value: string