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>
Constructors
Section titled “Constructors”PgMultiXactId(uint)
Section titled “PgMultiXactId(uint)”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.
Methods
Section titled “Methods”Deconstruct(out uint)
Section titled “Deconstruct(out uint)”public void Deconstruct(out uint Value)Parameters:
Value — uint
Equals(PgMultiXactId)
Section titled “Equals(PgMultiXactId)”public bool Equals(PgMultiXactId other)Parameters:
other — PgMultiXactId
Returns: bool
Equals(object)
Section titled “Equals(object)”public override bool Equals(object obj)Parameters:
obj — object
Returns: bool
GetHashCode()
Section titled “GetHashCode()”public override int GetHashCode()Returns: int
ToString()
Section titled “ToString()”public override string ToString()Returns: string
Properties
Section titled “Properties”Gets the first multixact ID, FirstMultiXactId.
public static PgMultiXactId First { get; }Value: PgMultiXactId
Invalid
Section titled “Invalid”Gets PostgreSQL’s invalid multixact ID, InvalidMultiXactId.
public static PgMultiXactId Invalid { get; }Value: PgMultiXactId
IsValid
Section titled “IsValid”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
Operators
Section titled “Operators”operator ==(PgMultiXactId, PgMultiXactId)
Section titled “operator ==(PgMultiXactId, PgMultiXactId)”public static bool operator ==(PgMultiXactId left, PgMultiXactId right)Parameters:
left — PgMultiXactId
right — PgMultiXactId
Returns: bool
operator !=(PgMultiXactId, PgMultiXactId)
Section titled “operator !=(PgMultiXactId, PgMultiXactId)”public static bool operator !=(PgMultiXactId left, PgMultiXactId right)Parameters:
left — PgMultiXactId
right — PgMultiXactId
Returns: bool