package
4.18.3
Repository: https://github.com/jackc/pgx.git
Documentation: pkg.go.dev

# Functions

AcquireConn acquires a *pgx.Conn from database/sql connection pool.
No description provided by the author
GetDefaultDriver returns the driver initialized in the init function and used when the pgx driver is registered.
No description provided by the author
OptionAfterConnect provides a callback for after connect.
OptionBeforeConnect provides a callback for before connect.
OptionResetSession provides a callback that can be used to add custom logic prior to executing a query on the connection if the connection has been used before.
RandomizeHostOrderFunc is a BeforeConnect hook that randomizes the host order in the provided connConfig, so that a new host becomes primary each time.
RegisterConnConfig registers a ConnConfig and returns the connection string to use with Open.
ReleaseConn releases a *pgx.Conn acquired with AcquireConn.
UnregisterConnConfig removes the ConnConfig registration for connStr.

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

OptionOpenDB options for configuring the driver when opening a new db pool.