Skip to content

PgGucSetting<T>

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Reads a configuration parameter defined at run time through PgGucRegistry.

public sealed class PgGucSetting<T>

Type parameters:

T

The value type: bool, int for integer and enumerated parameters, double, or nullable string.

Like a generated setting getter, Value reads PostgreSQL’s current native value and must be read from an extension callback on the backend thread.

Inheritance: object

Gets the qualified configuration name.

public string Name { get; }

Value: string

Gets the parameter’s current value.

public T Value { get; }

Value: T

Exceptions:

public override string ToString()

Returns: string