PgGucAttribute
Namespace: Ankus
Assembly: Ankus.Runtime.dll
Shares native registration metadata and typed hook names among PostgreSQL configuration declarations.
[AttributeUsage(AttributeTargets.Property)]public abstract class PgGucAttribute : AttributeInheritance: object, Attribute
Constructors
Section titled “Constructors”PgGucAttribute(string, string)
Section titled “PgGucAttribute(string, string)”Shares native registration metadata and typed hook names among PostgreSQL configuration declarations.
protected PgGucAttribute(string name, string shortDescription)Parameters:
name — string
The qualified configuration name.
shortDescription — string
The short configuration description.
Properties
Section titled “Properties”Assign
Section titled “Assign”Gets or sets the static assignment method that receives the accepted value and optional owned extra bytes.
public string? Assign { get; set; }Value: string
Gets or sets the static check method that accepts a proposed value and source and returns a typed check result.
public string? Check { get; set; }Value: string
Context
Section titled “Context”Gets or sets when PostgreSQL permits changes. The default allows session changes by any user.
public PgGucContext Context { get; set; }Value: PgGucContext
Gets or sets additional PostgreSQL configuration behaviors.
public PgGucOptions Flags { get; set; }Value: PgGucOptions
LongDescription
Section titled “LongDescription”Gets or sets the optional extended description.
public string? LongDescription { get; set; }Value: string
Gets the qualified PostgreSQL configuration name.
public string Name { get; }Value: string
ShortDescription
Section titled “ShortDescription”Gets the short configuration description.
public string ShortDescription { get; }Value: string
Gets or sets the static display method that receives the current value and optional owned extra bytes.
public string? Show { get; set; }Value: string
Gets or sets the base parsing and display unit for an integer or real setting.
public PgGucUnit Unit { get; set; }Value: PgGucUnit