package
10.3.17-gitref.1+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev

# Functions

GetName returns BackendName (postgres).
New returns a Backend that speaks the PostgreSQL protocol when communicating with the database.

# Constants

AlternativeName is another name of this backend.
BackendName is the name of this backend.
DefaultConnMaxIdleTime means connections are not closed due to a connection's idle time.
DefaultConnMaxLifetime means connections are not closed due to a connection's age.
DefaultMaxIdleConns means 2 idle connections are retained in the pool (same configuration as the standard library).
DefaultMaxOpenConns means the maximum number of open database connections is 50.
MaxDatabaseNameLength is the maximum PostgreSQL identifier length.

# Structs

Config defines a configuration for the postgres backend.