Skip to content

Structure

PostgresConnection.Configuration.Options

Describes options affecting how the underlying connection is made.
struct Options

Topics

Initializers

  • init()
    Create an options structure with default values.

Instance Properties

  • additionalStartupParameters
    Additional parameters to send to the server on startup. The name value pairs are added to the initial startup message that the client sends to the server.
  • connectTimeout
    A timeout for connection attempts. Defaults to ten seconds.
  • requireBackendKeyData
    Whether the connection is required to provide backend key data (internal Postgres stuff).
  • tlsServerName
    The server name to use for certificate validation and SNI (Server Name Indication) when TLS is enabled. Defaults to none (but see below).

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype