PostgresDevelopmentOptions
Namespace: Ankus.PgConfig
Assembly: Ankus.PgConfig.dll
Configures a local development server started by Ankus.
public sealed class PostgresDevelopmentOptionsInheritance: object
Constructors
Section titled “Constructors”PostgresDevelopmentOptions()
Section titled “PostgresDevelopmentOptions()”public PostgresDevelopmentOptions()Properties
Section titled “Properties”Gets the TCP port, or null to use the Ankus home’s configured base plus the PostgreSQL major version. An unconfigured home uses a base of 28800.
public int? Port { get; init; }Value: int?
Settings
Section titled “Settings”Gets PostgreSQL settings applied on this start. Values are literal configuration values, without surrounding quotes. Data, authentication, log routing, and connection locations are managed by Ankus.
public IReadOnlyDictionary<string, string> Settings { get; init; }Value: IReadOnlyDictionary<string, string>
TimeoutSeconds
Section titled “TimeoutSeconds”Gets the maximum number of seconds to wait for server startup, from 1 through 600.
public int TimeoutSeconds { get; init; }Value: int
UseValgrind
Section titled “UseValgrind”Gets whether to run PostgreSQL under Valgrind Memcheck from PATH, writing diagnostics to the server log. Requires a supported Unix platform and an installed Valgrind. An already running server keeps its current mode.
public bool UseValgrind { get; init; }Value: bool