You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 11, 2022. It is now read-only.
ParseEnvLibpq currently recognizes the following environment variables:
PGHOST
PGPORT
PGDATABASE
PGUSER
PGPASSWORD
PGSSLMODE
PGSSLCERT
PGSSLKEY
PGSSLROOTCERT
PGAPPNAME
PGCONNECT_TIMEOUT
typeOptionsstruct {
hoststringportintuserstringpasswordstringdbNamestringsslModestringLogger pgx.LoggerLogLevel pgx.LogLevelDial pgx.DialFuncRuntimeParamsmap[string]string// Run-time parameters to set on connection as session default values (e.g. search_path or application_name)OnNotice pgx.NoticeHandler// Callback function called when a notice response is received.CustomConnInfofunc(*pgx.Conn) (*pgtype.ConnInfo, error) // Callback function to implement connection strategies for different backends. crate, pgbouncer, pgpool, etc.CustomCancelfunc(*pgx.Conn) error// Callback function used to override cancellation behaviorpreferSimpleProtocolbool
}
vardefaultOptions=Options{
sslMode: "disable",
preferSimpleProtocol: true,
}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: