Structure
SQLPostgresConfiguration
Provides configuration paramters for establishing PostgreSQL database connections.
struct SQLPostgresConfiguration
Topics
Initializers
init(coreConfiguration:searchPath:)init(establishedChannel:username:password:database:)Create aSQLPostgresConfigurationfor establishing a connection to a server over a preestablishedNIOCore.Channel.init(hostname:port:username:password:database:tls:)Create aSQLPostgresConfigurationfor connecting to a server with a hostname and optional port.init(legacyConfiguration:)init(unixDomainSocketPath:username:password:database:)Create aSQLPostgresConfigurationfor connecting to a server through a UNIX domain socket.init(url:)Create aSQLPostgresConfigurationfrom a string containing a properly formatted URL.
Instance Properties
coreConfigurationsearchPathOptionalsearch_pathto set on new connections.
Type Properties
ianaPortNumberIANA-assigned port number for PostgreSQLUInt16(getservbyname("postgresql", "tcp").pointee.s_port).byteSwapped
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype