Skip to content

PgTupleAttributeInfo

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Owns the catalog metadata of one physical PostgreSQL tuple attribute, including dropped slots.

public sealed class PgTupleAttributeInfo

Inheritance: object

Gets the underlying type OID used to convert the field’s datum.

public uint BaseTypeOid { get; }

Value: uint

Gets the collation OID, or zero for a noncollatable type.

public uint CollationOid { get; }

Value: uint

Gets whether the underlying datum is a composite tuple or anonymous record.

public bool IsComposite { get; }

Value: bool

Gets whether this physical slot is a dropped attribute and always contains SQL NULL.

public bool IsDropped { get; }

Value: bool

Gets the descriptor’s not-null metadata. Table constraints do not automatically constrain composite values.

public bool IsNotNull { get; }

Value: bool

Gets whether PostgreSQL has not defined this field’s value in the current trigger row. Unavailable generated columns cannot be read or replaced and are distinct from SQL NULL.

public bool IsUnavailable { get; }

Value: bool

Gets the exact catalog name. Dropped attributes retain their physical placeholder names.

public string Name { get; }

Value: string

Gets the PostgreSQL type modifier, or minus one when unrestricted.

public int TypeModifier { get; }

Value: int

Gets the declared type OID, retaining domain identity.

public uint TypeOid { get; }

Value: uint