PQ::ConnInfo
Constants
SOCKET_SEARCH = ["/run/postgresql", "/tmp", "/var/run/postgresql"] of ::String
SUPPORTED_AUTH_METHODS = ["cleartext", "md5", "scram-sha-256", "scram-sha-256-plus"] of ::String
Constructors
new(host : String | Nil = nil, database : String | Nil = nil, user : String | Nil = nil, password : String | Nil = nil, port : Int | String | Nil = nil, sslmode : String | Symbol | Nil = nil, application_name : String | Nil = nil, replication : Nil | String = nil)
Create a new ConnInfo from all parts
Class methods
Instance methods
auth_methods
Sourcereplication
Source