Name

public enum Name : String, CaseIterable

supported names for connection parameters. Defined at PostgreSQL docs.

  • host running the database server

    Declaration

    Swift

    case host
  • port on host to connect to. Defaults to 5432

    Declaration

    Swift

    case port
  • the name of the database to use

    Declaration

    Swift

    case dbname
  • name to login with

    Declaration

    Swift

    case user
  • password to login with

    Declaration

    Swift

    case password
  • how long (in seconds) to wait before giving up on opening a connection

    Declaration

    Swift

    case connectTimeout = "connect_timeout"
  • psuedo command line parameters

    Declaration

    Swift

    case options
  • the name of the application connecting. Shown in admin functions.

    Declaration

    Swift

    case appName = "application_name"
  • which SSLMode to use

    Declaration

    Swift

    case sslMode = "sslmode"