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
Properties
Section titled “Properties”Gets the qualified configuration name.
public string Name { get; }Value: string
Gets the parameter’s current value.
public T Value { get; }Value: T
Exceptions:
- InvalidOperationException: The value is read outside an extension callback or on another thread.
Methods
Section titled “Methods”ToString()
Section titled “ToString()”public override string ToString()Returns: string