PgDsmLwLockTranche
Namespace: Ankus
Assembly: Ankus.Runtime.dll
Names the lock tranche of PgDsmLwLock<T> values, which live in dynamic shared memory such as a parallel
custom scan’s, as pgrx’s DsmLwLockTranche does.
public sealed class PgDsmLwLockTrancheKeep this descriptor in a static field and register it with Initialize(PgDsmLwLockTranche) during shared preload. PostgreSQL gives the tranche one ID for the whole server, and wait events report its locks by this name.
Inheritance: object
Constructors
Section titled “Constructors”PgDsmLwLockTranche(string)
Section titled “PgDsmLwLockTranche(string)”Creates an unregistered tranche with a cluster-wide name.
public PgDsmLwLockTranche(string name)Parameters:
name — string
A nonempty, exact UTF-8 name without a zero byte.
Properties
Section titled “Properties”Gets the tranche’s name.
public string Name { get; }Value: string