Skip to content

PgMultiXactId

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Represents PostgreSQL’s 32-bit multixact ID, which names a set of transactions that lock one row together.

public readonly struct PgMultiXactId : IEquatable<PgMultiXactId>

Implements: IEquatable<PgMultiXactId>

Represents PostgreSQL’s 32-bit multixact ID, which names a set of transactions that lock one row together.

public PgMultiXactId(uint Value)

Parameters:

Value — uint

The raw multixact ID.

public void Deconstruct(out uint Value)

Parameters:

Value — uint

public bool Equals(PgMultiXactId other)

Parameters:

other — PgMultiXactId

Returns: bool

public override bool Equals(object obj)

Parameters:

obj — object

Returns: bool

public override int GetHashCode()

Returns: int

public override string ToString()

Returns: string

Gets the first multixact ID, FirstMultiXactId.

public static PgMultiXactId First { get; }

Value: PgMultiXactId

Gets PostgreSQL’s invalid multixact ID, InvalidMultiXactId.

public static PgMultiXactId Invalid { get; }

Value: PgMultiXactId

Gets whether the multixact ID is valid.

public bool IsValid { get; }

Value: bool

Gets the largest multixact ID, MaxMultiXactId.

public static PgMultiXactId Max { get; }

Value: PgMultiXactId

The raw multixact ID.

public uint Value { get; init; }

Value: uint

public static bool operator ==(PgMultiXactId left, PgMultiXactId right)

Parameters:

left — PgMultiXactId

right — PgMultiXactId

Returns: bool

public static bool operator !=(PgMultiXactId left, PgMultiXactId right)

Parameters:

left — PgMultiXactId

right — PgMultiXactId

Returns: bool